Hi,

I have a problem with my script, I am trying to write a value to 4 skills, but I get a error.
This is the relevent code from the Action which is connected to a model in WED.

Code:
my.Skill41 = float(random(2)-1);
my.Skill42 = float(random(2)-1);
my.Skill43 = float(random(2)-1);
my.Skill44 = float(1.5);

ERROR:

Code:
Error in 'MAIN' lime 35: 'Skill41' : is not a member of 'ENTITY'



The best games are the games you create yourself.