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.

![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)