getHighestCloneIndex ( char *actorName )

Ideas for Game Editor evolution.

getHighestCloneIndex ( char *actorName )

Postby jazz_e_bob » Wed Jun 28, 2006 9:06 am

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
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest