typeOf: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved notes)
mNo edit summary
Line 28: Line 28:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


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.
<dd class="notedate">Posted on August 4, 2006 - 12:03</dd>
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">{{{1}}}</dd>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 13:03, 4 August 2006

Hover & click on the images for description

Description

Description:
Returns the class type of a given object or vehicle.
Groups:
Uncategorised

Syntax

Syntax:
typeOf vehicle
Parameters:
vehicle: Object
Return Value:
String

Examples

Example 1:
_class = typeOf _mi24

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

Posted on August 4, 2006 - 12:03
hardrock
{{{1}}}

Bottom Section