Actor *ActorArray;
int NumOfColActors;
int i;
ActorArray = getAllActorsInCollision("Event Actor", &NumOfColActors);
for(i = 0; i < NumOfColActors; ++i)
{
GlobalIndexArray[ActorArray[i].cloneindex] = ActorArray[i].animindex;
}
GlobalAnimNameArray[cloneindex] = getAnimName(GlobalIndexArray[cloneindex]);
int NumOfClones = 3;
GlobalAnimNameArray[NumOfClones][32];
GlobalAnimNameArray[0] = "Anim0";
GlobalAnimNameArray[1] = "Anim1";
GlobalAnimNameArray[2] = "Anim2";
CreateActor(actors[i].name, GlobalAnimNameArray[actors[i].cloneindex], actors[i].clonename, "no Path", 0, 0, false);
Users browsing this forum: No registered users and 1 guest