Okay...I'm new here, but I would like to know how you assign variables to certain things. I understand how to add to shared/internal variables as part of an event, but how in God's name would you assign the character's level to be a variable? This way, a character could only do a certain event if he/she was a high enough level. Also, in the instruction manual, in explaining variables, it says that you can use a variable to keep track of monsters killed. Seeing as how monsters and monster parties don't have event codes, I do not see how this is possible. Am I just dumb, or can you not do either of these two things? Thanks in advance!
Announcement
Collapse
No announcement yet.
Another question about variables...
Collapse
X
-
Peng!33Tags: None
-
Re: Another question about variables...
in events you can keep track of how many enemies you've killed. after you've beaten the enemy, add one to the designated variable, and viola, it keeps track.
to keep track of stuff event related, in the events 'modes', you can set the conditions for that 'mode' to occur, the options include that of if variable is greater than, less than, equal to, time equals, and time doesn't equal (i may have missed one), use the variable settings in the conditions.
Also, you can run a VAL condition in the event code itself to check whether one or more variables satisfy many conditions.Last edited by Doyleman; 09-26-2005, 06:39 PM.I love lamp.
-
Peng!33
Re: Another question about variables...
I already know about the second part of what you said, but I still do not understand about monsters being killed. What if the monster is not part of an event, just a random monster? How do you "assign" this to a variable, and where do you place that variable (ie-in character's event code, etc)? Also, is it possible to name your variables?Last edited by Peng!33; 09-26-2005, 06:50 PM.
Comment
-
Re: Another question about variables...
i just told you how to assign, the only official way to assign. Variables actually can't be assigned, as they can be used for any random thing you want them for.
You place the variable 'upgrade' in the event code, but placing a variable in the code does nothing, making it equal a given number or adding/subracting does stuff, but not just putting it there, that's pointless.
here's a example of how to check battles, note that they have to be SET battles, not random stuff (or so i think so far).
Control> Battle (characters or monster group, your decision)
then if you win, the next line of code will work through, make that next line
Variable ## add 1.
now every time you run that event and win the battle, it'll add one variable. If you want that event to disappear, then make it switch modes. You'd then have to make other battle events run a battle, and add one to a variable.
It sounds like your making variables harder than they have to be, I mean what I said above wasn't all that hard to understand (or from my perspective, then again I know what I'm trying to get across)
anyway, hope that helped you.I love lamp.
Comment

Comment