short iHealthSet iHealth to Player.GetActorValue HealthShowMessage despDebugHealth iHealth
The message is defined as:
Player.Health = %g
In game, the result is always a zero, no matter how I set up the message or define the variable. I'm even more puzzled, because I have another topic Result End as this:
set despExperience to despExperience + 1ShowMessage despDebugExp despExperience
This message is defined as:
despExperience = %g
This message always correctly displays a 1.
I'm at a loss as to why I can't get it working. Do actor functions not work properly inside topic scripts, perhaps? If this is true, is there some way to execute a script from some other location, for example an "execute" or "startscript" command?
Any help is greatly appreciated. If I can't even get this to work, I'm wondering why I'm bothering to try at all.
Rig