Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RPGMXP - Issue with variables (that most likely can be solved using scripts)
#3
(01-22-2012, 06:51 AM)DerVVulfman Wrote: Read it. It's a bit RM2K / 2K3 old school. Not saying an event system doesn't come in handy, as I've seen a few good ones. But your request may be easier to solve as a script.

May I ask what's the purpose of the 4-digit display?

Health/Magic (HP/MP) display, I'm pretty much making a battle system using events (something I've done using RPG Maker 1 and 2). The script you gave works but doesn't really do what I need it to do.


Here's some pics of what I'm trying to do with the whole thing (might make it easier to figure out what I want)

http://dl.dropbox.com/u/26636904/rpgmakerXp/rpgmxp0.png

http://dl.dropbox.com/u/26636904/rpgmakerXp/rpgmxp1.png

http://dl.dropbox.com/u/26636904/rpgmakerXp/rpgmxp2.png

http://dl.dropbox.com/u/26636904/rpgmakerXp/rpgmxp3.png


I don't know anything about scripting and I want my game to have my own personal battle system, so I'm building it in a way that I can figure out how to build it (so while scripting a battle system might work better, I'm unable to do that, so this will have to do).

All I need is a script that makes the following (which would probably achieve what I need so the event based health display to work)

var502 = thousands place of var501 (if var501 = 6532, var502 = 6, if var501 = 2109, var502 = 2,)
var503 = hundreds place of var501 (if var501 = 6532, var503 = 5, if var501 = 2109, var503 = 1,)
var504 = tens place of var501 (if var501 = 6532, var504 = 3, if var501 = 2109, var504 = 0,)
var505 = ones place of var501 (if var501 = 6532, var505 = 2, if var501 = 2109, var505 = 9,)

varTenThousands = Ten-thousands place of var501 (if I needed a 5 digit number)
varHundredThousands =
Hundred-thousands place of var501 (if I needed a 6 digit number)
varMillions = Millions place of var501 (if I needed a 7 digit number)
etc.
Reply }


Messages In This Thread
RE: RPGMXP - Issue with variables (that most likely can be solved using scripts) - by DPhoenix29 - 01-22-2012, 08:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Battle Scripts shaje 2 7,139 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,195 03-09-2015, 07:52 PM
Last Post: Steel Beast 6Beets
Heart [solved] Wierd XP error cosmickitty 0 3,405 03-09-2013, 12:26 AM
Last Post: cosmickitty
  Issue with RPG Maker XP and VX XP Kobold 4 8,529 05-29-2011, 08:22 PM
Last Post: XP Kobold
  multiplication with variables zubin73 2 4,615 02-16-2010, 07:12 AM
Last Post: zubin73



Users browsing this thread: