RPGMXP - Issue with variables (that most likely can be solved using scripts)
#4
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.

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.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
RE: RPGMXP - Issue with variables (that most likely can be solved using scripts) - by DerVVulfman - 01-23-2012, 04:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Battle Scripts shaje 2 7,746 09-14-2016, 06:08 PM
Last Post: Bounty Hunter Lani
   {RPGMXP} Create a state which protects you from a certain type of attack ThePrinceofMars 3 7,917 03-09-2015, 07:52 PM
Last Post: Steel Beast 6Beets
Heart [solved] Wierd XP error cosmickitty 0 3,640 03-09-2013, 12:26 AM
Last Post: cosmickitty
  Issue with RPG Maker XP and VX XP Kobold 4 9,341 05-29-2011, 08:22 PM
Last Post: XP Kobold
  multiplication with variables zubin73 2 5,126 02-16-2010, 07:12 AM
Last Post: zubin73



Users browsing this thread: 1 Guest(s)