Method PlayerBotAI:GetClassIndex [-] [+]

Returns the index of the given Player among the group members of a class.

Synopsis

index = PlayerBotAI:GetClassIndex( class )
index = PlayerBotAI:GetClassIndex( class, member )

Arguments

number class

Valid numbers: integers from 0 to 255.

Player member (the)
See method description.

Returns

number index

Valid numbers: integers from -2,147,483,647 to 2,147,483,647.