typeOf

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint: Resistance version 1.90

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint: Resistance
Version:
1.90

Description

Description:
Returns the class type of a given object .

Syntax

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

Examples

Example 1:
_class = typeOf _mi24

Additional Information

Multiplayer:
Behaviour unknown.
See also:
countType, isKindOf

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

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

Personal tools
Buy ArmA now!