getObjectType

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.50
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.50

Description

Description:
Returns object type as a number:
  • 1 - Primary - Normal object placed in Visitor, part of landscape
  • 2 - Network - Road placed in Visitor, part of landscape
  • 4 - Temporary - Temporary object (like tracks)
  • 8 - TypeVehicle - Some entity added by game
  • 16 - TypeTempVehicle - Temporary entity
  • 32 - LandDecal - Land decal

Syntax

Syntax:
getObjectType object
Parameters:
object: Object
Return Value:
Number - Object type

Examples

Example 1:
_objType = getObjectType player;
Example 2:
_objType = getObjectType cursorObject;

Additional Information

Multiplayer:
-
See also:
cursorObjectcursorTargetcreateSimpleObjectallMissionObjectssetObjectViewDistancegetObjectViewDistanceobjectParentobject

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section