{"name":"BIS_fnc_objectType","operator":null,"title":"BIS fnc objectType","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_objectType","revid":327120,"updated":"2022-07-12T21:44:51Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.08"}],"since":{"game":"arma3","name":"Arma 3","version":"1.08"},"arma3_since":"1.08","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return object category and type.","syntaxes":[{"syntax":"anObject call BIS_fnc_objectType","since":null,"effect":null,"exec":null,"params":[{"name":"anObject","type":"String or Object","optional":false,"default":null,"description":null,"types":["String","Object"],"since":null,"text":"anObject: String or Object"}],"returns":{"type":"Array","types":["Array"],"description":"in format [category, type]. One of: | Soldier | Vehicle / VehicleAutonomous | Logic | Object | |---|---|---|---| | - AT<br>- Civilian<br>- Diver<br>- Infantry<br>- Medic<br>- MG<br>- Officer<br>- Pilot<br>- Sniper<br>- SpecialForces<br>- UAVPilot | - Car<br>- Helicopter<br>- Motorcycle<br>- Plane<br>- Ship<br>- StaticWeapon<br>- Submarine<br>- TrackedAPC<br>- Tank<br>- WheeledAPC | - Logic<br>- Module | - Ammobox<br>- Animal<br>- Backpack<br>- Camera<br>- Church<br>- Effect<br>- Fire<br>- Flag<br>- Helipad<br>- House<br>- Marker<br>- Mine<br>- Parachute<br>- Seagull<br>- Sound<br>- Target<br>- Thing<br>- Trigger<br>- UnknownObject<br>- VASI<br>- Wreck |","text":"Array - in format [category, type]. One of:\n\n| Soldier | Vehicle / VehicleAutonomous | Logic | Object |\n|---|---|---|---|\n| - AT<br>- Civilian<br>- Diver<br>- Infantry<br>- Medic<br>- MG<br>- Officer<br>- Pilot<br>- Sniper<br>- SpecialForces<br>- UAVPilot | - Car<br>- Helicopter<br>- Motorcycle<br>- Plane<br>- Ship<br>- StaticWeapon<br>- Submarine<br>- TrackedAPC<br>- Tank<br>- WheeledAPC | - Logic<br>- Module | - Ammobox<br>- Animal<br>- Backpack<br>- Camera<br>- Church<br>- Effect<br>- Fire<br>- Flag<br>- Helipad<br>- House<br>- Marker<br>- Mine<br>- Parachute<br>- Seagull<br>- Sound<br>- Target<br>- Thing<br>- Trigger<br>- UnknownObject<br>- VASI<br>- Wreck |"}}],"examples":[{"text":"```sqf\nprivate _myType = player call BIS_fnc_objectType;\n```","code":["private _myType = player call BIS_fnc_objectType;"]},{"text":"```sqf\nprivate _myType = \"B_MRAP_01_F\" call BIS_fnc_objectType;\n```","code":["private _myType = \"B_MRAP_01_F\" call BIS_fnc_objectType;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["typeOf","countType","isKindOf"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Object Manipulation","Functions","Introduced with Arma 3 version 1.08"],"docblock":null,"filled_from_docblock":[]}