isKindOf: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset ArmA version)
m (typo in previous change, wiki links for example)
Line 3: Line 3:


| arma |= Game name
| arma |= Game name
1.00|= Game version
 
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 18: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>vehicle player isKindOf "Tank"</pre> |= Example 1
|x1= <code>[[vehicle]] [[player]] isKindOf "Tank"</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:40, 6 October 2006

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Checks whether the object is of the given type.
Groups:
Uncategorised

Syntax

Syntax:
object isKindOf typeName
Parameters:
object: Object
typeName: String
Return Value:
Boolean

Examples

Example 1:
vehicle player isKindOf "Tank"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section