01-22-2012, 08:01 AM
(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.