View Full Version: Variable In The Panel

DimensioneX Forum > Developers' Pub > Variable In The Panel



Title: Variable In The Panel
Description: Can you put a variable in the panel fram


ricksan - February 9, 2006 08:05 PM (GMT)
Can you put a variable in the panel frame?
For example

PANEL initchoice2
LABEL "<B>Stats</B><BR>"
BUTTON Strength, " + $AGENT.Strength + “, "ADD 1 to you'r strength", onChoosestrength
IMAGE 32x32 icoWarrior.gif
LABEL "+ $AGENT.Strength + "

To show a players current stat (Strength) in or be side the button to add Strength?


Cris - February 10, 2006 08:55 AM (GMT)
This won't work. Reason for this is that the panel, normally, doesn't update.

All variable values should be displayed in the scene frame.




Hosted for free by InvisionFree