isKindOf

From Bohemia Interactive Community
Revision as of 16:40, 2 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


object isKindOf typeName


Operand types:

object: Object

typeName: String

Type of returned value:

Boolean

Compatibility:

Version 2.30 required.

Description:

Checks whether the object is of the given type.


Example:

vehicle player isKindOf "Tank"