{"name":"BIS_fnc_miscAnim","operator":null,"title":"BIS fnc miscAnim","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_miscAnim","revid":370878,"updated":"2025-02-21T10:44:03Z","groups":["Scenes"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Setting up the animations with correct positions for object - choose correct performance. For ex. fixingTowingTractor (read the description). \n\n> [!WARNING]\n> This function most likely doesn't work outside of Arma 2 and Arma 2: Operation Arrowhead.","syntaxes":[{"syntax":"[anim, person1, vehicle*, person2, isOnBoard, altitude, doMove*] call BIS_fnc_miscAnim","since":null,"effect":null,"exec":null,"params":[{"name":"anim","type":"String","optional":false,"default":null,"description":"**case-sensitive**, can be one of:\n- **\"BagFenceSittingOn1\"** - sitting on the bagfance - front\n- **\"fixingHumwee1\"** - fixing Hummwee - engine\n- **\"fixingTowingTractor\"** - fixing the right front wheel of towing tractor\n- **\"heliChecking1\"** - checking, assembling helicopter - thermal rocket silo - VENOM\n- **\"heliChecking2\"** - checking, assembling helicopter - ROTATEGUN\n- **\"heliCleaning1\"** - cleaning,checking, helicopter MH60 - cockpit outside\n- **\"heliNavi1\"** - navigating helicopter\n- **\"lyingAlongVehicle1\"** - lying near the vehicle - LEFT\n- **\"lyingAlongVehicle1b\"** - lying near the vehicle - RIGHT\n- **\"sittingOnTheChair1\"** - sitting on the foldChair (with geton from the RIGHT side)\n- **\"sittingOnTheChair1L\"** - sitting on the foldChair (with geton from the LEFT side)\n- **\"sittingOnTheChair2\"** - sitting-banded on the foldChair (with geton from the RIGHT side)\n- **\"sittingOnTheChair3a\"** - Sykes-like sitting\n- **\"sittingOnTheChair3b\"** - Rodriguez-like sitting\n- **\"tableSittingOn1\"** - sitting on the table - front\n- **\"tableSupportTalking1\"** - talking leaning on table - from front\n- **\"tableSupportTalking2\"** - talking leaning on table - from side\n- **\"twoTalking1\"** - pair talking in front of the vehicle 0 degrees\n- **\"twoTalking1a\"** - pair talking in front of the vehicle 0 degrees but pair is ROTATED\n- **\"twoTalking2\"** - pair talking in side of the vehicle 90 degrees\n- **\"twoTalking3\"** - pair talking in side of the vehicle 270 degrees","types":["String"],"since":null,"text":"anim: String - **case-sensitive**, can be one of:\n- **\"BagFenceSittingOn1\"** - sitting on the bagfance - front\n- **\"fixingHumwee1\"** - fixing Hummwee - engine\n- **\"fixingTowingTractor\"** - fixing the right front wheel of towing tractor\n- **\"heliChecking1\"** - checking, assembling helicopter - thermal rocket silo - VENOM\n- **\"heliChecking2\"** - checking, assembling helicopter - ROTATEGUN\n- **\"heliCleaning1\"** - cleaning,checking, helicopter MH60 - cockpit outside\n- **\"heliNavi1\"** - navigating helicopter\n- **\"lyingAlongVehicle1\"** - lying near the vehicle - LEFT\n- **\"lyingAlongVehicle1b\"** - lying near the vehicle - RIGHT\n- **\"sittingOnTheChair1\"** - sitting on the foldChair (with geton from the RIGHT side)\n- **\"sittingOnTheChair1L\"** - sitting on the foldChair (with geton from the LEFT side)\n- **\"sittingOnTheChair2\"** - sitting-banded on the foldChair (with geton from the RIGHT side)\n- **\"sittingOnTheChair3a\"** - Sykes-like sitting\n- **\"sittingOnTheChair3b\"** - Rodriguez-like sitting\n- **\"tableSittingOn1\"** - sitting on the table - front\n- **\"tableSupportTalking1\"** - talking leaning on table - from front\n- **\"tableSupportTalking2\"** - talking leaning on table - from side\n- **\"twoTalking1\"** - pair talking in front of the vehicle 0 degrees\n- **\"twoTalking1a\"** - pair talking in front of the vehicle 0 degrees but pair is ROTATED\n- **\"twoTalking2\"** - pair talking in side of the vehicle 90 degrees\n- **\"twoTalking3\"** - pair talking in side of the vehicle 270 degrees"},{"name":"person1","type":"Object","optional":false,"default":null,"description":"first actor","types":["Object"],"since":null,"text":"person1: Object - first actor"},{"name":"vehicle","type":"String","optional":false,"default":null,"description":"reference object (chair, table, vehicle etc.). Only used for certain anims","types":["String"],"since":null,"text":"vehicle: String - reference object (chair, table, vehicle etc.). Only used for certain anims"},{"name":"person2","type":"Object","optional":true,"default":"person1","description":"second actor, if any","types":["Object"],"since":null,"text":"person2: Object - (Optional, default *person1*) - second actor, if any"},{"name":"isOnBoard","type":"Boolean","optional":true,"default":"false","description":"is the unit on Arma 2 LHD (15m height)","types":["Boolean"],"since":null,"text":"isOnBoard: Boolean - (Optional, default false) is the unit on Arma 2 LHD (15m height)"},{"name":"altitude","type":"Number","optional":true,"default":"0","description":"custom altitude to use instead of 0 or 15m","types":["Number"],"since":null,"text":"altitude: Number - (Optional, default 0) custom altitude to use instead of 0 or 15m"},{"name":"doMove","type":"Anything","optional":true,"default":"false","description":"nil to setPos unit, any value to make it move via\ndoMove (true for readability)","types":["Anything"],"since":null,"text":"doMove: Anything - (Optional, default false) nil to setPos unit, any value to make it move via\ndoMove (true for readability)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[\"twoTalking1\", unit1, myCar, unit2] call BIS_fnc_miscAnim;\n```","code":["[\"twoTalking1\", unit1, myCar, unit2] call BIS_fnc_miscAnim;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["playMove","switchMove","playAction"],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Scenes","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}