I have a script that controls a player - in this script I can define meaningful names with the #define keyword and allocate values to them - no problem, this works fine. However, in a second script (for combat) any references to the meaningful name result in a "not a member of 'ENTITY'" compiler error. If I use the skill name (skill1, skill2, etcetera) it works fine and the values are correctly referenced it's just when I use the assigned label.
Funny thing is I've used a similar principle in another script (passing an ENTITY reference across scripts and referencing values using labels) and there are no problems.
Anyone else encountered this? If so, what was the work around?
Thanks in advance...
Cheers - Jim.
Last edited by JimmyJazz; 05/27/08 14:47.