Any entity got some parameters (skill1 ... skill100).
You may set these parameters by doing something like
Code:
entity.skill3 = 23.578
The min and max allowed values for each skill are -999999.999 ... +999999.999
Additionally entities have 8 Flags calles flag1 ... flag8. These flags can only be set to ON or OFF.

You may define other "names" for these skills and flags. To do so use something like.
Code:
#define health skill2

Now you can set the entities health (==skill2) by using code like
Code:
entity.health = 93

You can use skills and flags as normal variables. But you must use them as a parameters of the specific entity.

Last edited by garv3; 02/04/09 18:09.

GameStudio Version: A7 Pro v7.86