![]() |
||||||||||||||
|
||||||||||||||
blade2k
» articles & tutorialsSimultaneous Experience
This tutorial will make a system in which all (or some of) your characters will have the same amount of EXP whether they're in the party or not. What you need: <b>2 Variables 1 Common Event</b> Make a common event and call it something like "Experience", or something. Make the Trigger "Parallel Process". Call your variables "EXP 1" and "EXP 2". <>Variable Oper: [XXXX: EXP 1] Set, Chara1 Experience **<i>Set one of the variables to the experience of the first character (note that Chara1 means YOUR FIRST CHARACTER).</i> <>Variable Oper: [XXXX: EXP 2] Set, Chara2 Experience **<i>Set the other variables to the second character's experience (note that Chara2 means YOUR SECOND CHARACTER).</i> <>Branch: Var [XXXX: EXP 1] is V[XXXX: EXP 2] Greater **<i>Branches off if the first character has more experience than the second</i> --<>Variable Oper: [XXXX: EXP 1] -, [XXXX: EXP 2] **<i>Subtracts the lower experience from the higher</i> --<>Change Experience: Chara2's Experience V[XXXX: EXP 1] Add **<i>Adds the difference to the second character's experience make the two even</i> <>Branch: Var [XXXX: EXP 1] is V[XXXX: EXP 2] Less **<i>Branches off if the first character has less experience than the second</i> --<>Variable Oper: [XXXX: EXP 2] -, [XXXX: EXP 1] **<i>Subtracts the lower experience from the higher</i> --<>Change Experience: Chara1's Experience V[XXXX: EXP2] Add **<i>Adds the difference to the first character's experience make the two even</i> That's gonna be the template for the rest of the characters. Let's call this the "<b>Chunk</b>". Copy it and paste it right after the <b>Chunk</b>. Now all you have to do is change all the Chara2s you see to Chara3. Observe: <>Variable Oper: [XXXX: EXP 1] Set, Chara1 Experience **<i>Set one of the variables to the experience of the first character (note that Chara1 means YOUR FIRST CHARACTER).</i> <>Variable Oper: [XXXX: EXP 2] Set, Chara3 Experience **<i>Set the other variables to the second character's experience (note that Chara3 means YOUR THIRD CHARACTER).</i> <>Branch: Var [XXXX: EXP 1] is V[XXXX: EXP 2] Greater **<i>Branches off if the first character has more experience than the third</i> --<>Variable Oper: [XXXX: EXP 1] -, [XXXX: EXP 2] **<i>Subtracts the lower experience from the higher</i> --<>Change Experience: Chara3's Experience V[XXXX: EXP 1] Add **<i>Adds the difference to the third character's experience make the two even</i> <>Branch: Var [XXXX: EXP 1] is V[XXXX: EXP 2] Less **<i>Branches off if the first character has less experience than the third</i> --<>Variable Oper: [XXXX: EXP 2] -, [XXXX: EXP 1] **<i>Subtracts the lower experience from the higher</i> --<>Change Experience: Chara1's Experience V[XXXX: EXP2] Add **<i>Adds the difference to the first character's experience make the two even</i> Remember always to go off from the first character, just to be safe and to save you from editing what doesn't need to be edited. You can also skip around. For instance, if you want a character to level up on his lonesome, then just skip his character number and go on to the next one. This is just as easy as copying the <b>Chunk</b> once for each character. ::E-mail:: xtremedrummerguy@hotmail.com |
|
|||||||||||||
|
©2002-2008 blade2k.net - parsed in 0.002 seconds - view active users
[15976 members][newest member: Onisan666]
Active Users (0)
|
||||||||||||||