|
megaerik00 Newbie
Joined: 03 Jan 2016 Posts: 5
|
Posted: Sun Jan 03, 2016 4:16 am
Help with variables and parenthesis |
Hey folks, was hoping you all could help me figure something out that I've been scratching my head on for awhile. I'm trying to get a status bar (or gauge) going for Dawn. The string I'm trying to get my info off of is:
Hp: 3205(4104) Gp: 600(1000)
I can get it working fine if i just go by the current values on the left, but I'd like to get the max values working as well, but the built in parenthesis are messing with my variables. I was trying to use:
Hp: (%d)((%d)) Gp: (%d)((%d))
#var hp %1
#var mhp %2
#var gp %3
#var mgp %4
I'm hoping there is a simple solution. Thanks in advance folks. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Jan 03, 2016 7:51 am |
Hp: (%d)~((%d)~) Gp: (%d)~((%d)~)
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
megaerik00 Newbie
Joined: 03 Jan 2016 Posts: 5
|
Posted: Mon Jan 04, 2016 9:06 am |
Thank you kindly.
|
|
|
|
|
|