Page 1 of 1

animindex?

PostPosted: Mon Oct 09, 2006 1:57 am
by magic_maxwell2
how would you use this in a script?????? i need some thing to the effect of...

if(animindex = 1)
{
CreateActor("MyAttack", "attack", "(none)", "(none)", 0, 0, false);
}

PostPosted: Mon Oct 09, 2006 3:31 am
by Joshua Worth
remember, use 2 equal signs: "=="
eg.
Code: Select all
if(animindex == 1)