Perfectly logical, but it still doesn't work. Maybe I should be looking elsewhere for the reason.
I checked the model. It has three skins "skin0","skin1" & "skin2"
I can't get the skin to change with a simple
my.skin = 1; or
my.skin = "skin1";
Well, here's a clue:
I gave one of the enemy this action from the manual and it works. He cycles the three skins.
Code:
action flipskins
{
while (1)
{
my.skin = my.skill1 % 3; // 3 Skins
my.skill1 += time; // 16 skins per second
wait (1);
}
}
That should tell me something.......but what?