isKindOf: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.3|= Game version | |||
____________________________________________________________________________________________ | |||
| Checks whether the object is of the given type. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | object '''isKindOf''' typeName |= Syntax | ||
|p1= object: [[Object]] |= Parameter 1 | |||
|p2= typeName: [[String]] |= Parameter 2 | |||
| [[Boolean]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>vehicle player isKindOf "Tank"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|ISKINDOF]] | |||
[[Category:Scripting Commands OFP Elite |ISKINDOF]] | |||
[[Category:Scripting Commands ArmA|ISKINDOF]] | |||
Revision as of 00:35, 2 August 2006
Description
- Description:
- Checks whether the object is of the given type.
- Groups:
- Uncategorised
Syntax
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