typeOf: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 41: | Line 41: | ||
[[Category:Scripting Commands OFP 1.46|TYPEOF]] | [[Category:Scripting Commands OFP 1.46|TYPEOF]] | ||
[[Category:Scripting Commands ArmA|TYPEOF]] | [[Category:Scripting Commands ArmA|TYPEOF]] | ||
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] |
Revision as of 21:46, 23 April 2007
Description
- Description:
- Returns the class type of a given object or vehicle.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_class = typeOf _mi24
Additional Information
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
- Posted on August 4, 2006 - 12:03
- hardrock
- Try using this on an object pre-placed in the mission editor (such as a house): hint format["%1", typeof object xxx] Now place an object in the editor, save the map, and open up the Mission.sqm. Find the line: vehicle="XXX", and replace XXX with the name of the object that you found above. Save it, and load the map.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.90
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Object Information