So the above statement says to check game variable 24 for array item 3 (aka the event id). So tilled would be, crop would be 1, etc. $game_variablesArrays always count the number of items inside the array starting with 0. If you just want to check what the set even id is, you'd want to do this: # game_variable = $game_variables = Now how you want to check the event id's will determine how you search for them. You could use a comment line if you want so you can keep track of what all the entries are like so: $game_variables = I condensed the last entry down as well, it'd work either way. What is says is you're setting the variable to array, and then set it to $game_variables = array = is a bit confusing looking. It'd be easier if you showed a screen shot of your event and maybe the script, but I see a few things I'd like to try to clear up for you Ok I'll try to make a little sense for you. and try to make it lighter using a set of script calls and event switches to do most of the work and so my eyes can read both easier. X_X Ran into one already.Īlso, long story short, I'm trying to create a farming system within my project that isn't so event heavy. X_XĪ point in the right direction would be a good start for me and for the love of RPGs please don't point me to a game tut download that has had too much traffic and has been shut down temporarily. I keep thinking either a do while loop or a while loop but I don't see how that would work. How would I do a search for what is called 'eventid' within the script? Lets say for example array 1 is like this: With a specific system I am trying to create, I'm currently stuck using a mix of using events and scripting to try to get it work and be less confusing when driven by events.Īlso please understand that I'm completely new to rgss scripting and have been trying to do a crash study course into scripting since two days ago. As the title asks, I've been stomped on the for a while and so far, a lot of the tuts I have looked up haven't really steered me in the right direction.Īlso I am scripting this inside of RPG Maker VX Ace.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |