Greetings.
I am trying to set up a Spell Point system in Hero Lab (based on the old AD&D Player's Option system)
I am trying to make this as dynamic as possible, hoping for compatibility with custom classes etc. Though most of my issues I have found way's around, some questions about the capabilities of Hero Lab's scripting engine have arisen.
Can you define a new custom variable and place it in a container, (hero container)?
Is it possible to add objects to the ui using scripts only (text to a tab, tracked resource, etc)
Does a switch statement exist?
Can you access things using id from a variable (ex. id="abValue" & 2; debug field[id])
Thanks
I am trying to set up a Spell Point system in Hero Lab (based on the old AD&D Player's Option system)
I am trying to make this as dynamic as possible, hoping for compatibility with custom classes etc. Though most of my issues I have found way's around, some questions about the capabilities of Hero Lab's scripting engine have arisen.

Can you define a new custom variable and place it in a container, (hero container)?
Is it possible to add objects to the ui using scripts only (text to a tab, tracked resource, etc)
Does a switch statement exist?
Can you access things using id from a variable (ex. id="abValue" & 2; debug field[id])
Thanks