BIS fnc objectType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Add Columns template usage) |
||
Line 46: | Line 46: | ||
* Module | * Module | ||
{{!}} | {{!}} | ||
{{Columns|2| | |||
* Ammobox | * Ammobox | ||
* Animal | * Animal | ||
Line 68: | Line 68: | ||
* VASI | * VASI | ||
* Wreck | * Wreck | ||
}} | |||
{{!}}} | {{!}}} | ||
Revision as of 19:23, 14 June 2021
Description
- Description:
- Return object category and type.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- anObject call BIS_fnc_objectType
- Parameters:
- anObject: String or Object
- Return Value:
- Array - in format [category, type]. One of:
Soldier Vehicle / VehicleAutonomous Logic Object - AT
- Civilian
- Diver
- Infantry
- Medic
- MG
- Officer
- Pilot
- Sniper
- SpecialForces
- UAVPilot
- Car
- Helicopter
- Motorcycle
- Plane
- Ship
- StaticWeapon
- Submarine
- TrackedAPC
- Tank
- WheeledAPC
- Logic
- Module
- Ammobox
- Animal
- Backpack
- Camera
- Church
- Effect
- Fire
- Flag
- Helipad
- House
- Marker
- Mine
- Parachute
- Seagull
- Sound
- Target
- Thing
- Trigger
- UnknownObject
- VASI
- Wreck
Examples
- Example 1:
_myType = player call BIS_fnc_objectType;
- Example 2:
_myType = "B_MRAP_01_F" call BIS_fnc_objectType;
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