How would I script an actor to check it's clone id (.1, .2, etc.) in reference to what it's supposed to do in it's draw acytor script? Something like:
if (cloneid==.1)
{
do this
}
else if (cloneid==.2)
{
do this
}
spot = count;
strcpy(array[count], clonename);
count ++;
count --;
strcpy(array[spot], array[count]);
int i;
for (i = 0; i < count; i ++)
{
Actor *AC = getclone(array[i]);
//do stuff
}
Users browsing this forum: No registered users and 1 guest