Page 1 of 1

getHighestCloneIndex ( char *actorName )

PostPosted: Wed Jun 28, 2006 9:06 am
by jazz_e_bob
getHighestCloneIndex ( char *actorName )

getHighestCloneIndex: Returns the highest index value of clones with actorName.

actorName : Any Actor in game.

Script Editor Syntax:
int maxIndex = getHighestCloneIndex("enemy"); \\ highest index value of enemy clones.

Useful for traversing clone arrays. :)

Image