01-23-2012, 04:44 AM
Okay...
Let's consider you have one event with 10 pages tied to a variable [0011: Var1],
another event with 10 pages tied to a variable [0012: Var2],
another event with 10 pages tied to a variable [0013: Var3],
and finally an event with 10 pages tied to a variable [0014: Var4].
Each event has a charset image from '0' to '9'...
And that you're using an event [0010: VarPrime] to hold the initial value of your HP or MP that you want sliced -n- diced for your four events.
Below is some classic event coding that can be used within an event (or more likely a common event) that will take the value stored in [0010: VarPrime] and divide it for use within the first 4 values/events earlier noted. There are two other variables in the below code that are used for storage and calculations.
I also included 'comments'... just in case.
Enjoy.
Oh, and RPGMaker XP doesn't have a 'call map event' feature like earlier versions, but then again, you can always use Call Map Event, a script that returns the feature.
Let's consider you have one event with 10 pages tied to a variable [0011: Var1],
another event with 10 pages tied to a variable [0012: Var2],
another event with 10 pages tied to a variable [0013: Var3],
and finally an event with 10 pages tied to a variable [0014: Var4].
Each event has a charset image from '0' to '9'...
And that you're using an event [0010: VarPrime] to hold the initial value of your HP or MP that you want sliced -n- diced for your four events.
Below is some classic event coding that can be used within an event (or more likely a common event) that will take the value stored in [0010: VarPrime] and divide it for use within the first 4 values/events earlier noted. There are two other variables in the below code that are used for storage and calculations.
I also included 'comments'... just in case.
Enjoy.
I normally don't event, but this is classic stuff
Oh, and RPGMaker XP doesn't have a 'call map event' feature like earlier versions, but then again, you can always use Call Map Event, a script that returns the feature.