isKindOf: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
[[Category:Scripting Commands ArmA|ISKINDOF]] | [[Category:Scripting Commands ArmA|ISKINDOF]] | ||
<h2 style="color:#000066">'''''object'' isKindOf ''typeName'''''</h2> | |||
'''Operand types:''' | |||
'''object:''' [[Object]] | |||
''' | '''typeName:''' [[String]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[Boolean]] | |||
'''Compatibility:''' | '''Compatibility:''' | ||
Version 2.30 required. | |||
'''Description:''' | '''Description:''' | ||
Checks whether the object is of the given type. | |||
'''Example:''' | '''Example:''' | ||
vehicle player isKindOf "Tank" |