BIS fnc miscAnim: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|") |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma2 | | |game1= arma2 | ||
|version1= 1.00 | |||
|1. | |game2= arma2oa | ||
|version2= 1.50 | |||
| | |game3= tkoh | ||
|version3= 1.00 | |||
| | |game4= arma3 | ||
|version4= 0.50 | |||
| [anim, person1, vehicle'', person2, isOnBoard, altitude, doMove''] call [[ | |gr1= Scenes | ||
|descr= Setting up the animations with correct positions for object - choose correct performance. For ex. fixingTowingTractor (read the description). {{Feature|warning|This function most likely doesn't work outside of {{arma2}} and {{arma2oa}}.}} | |||
|s1= [anim, person1, vehicle'', person2, isOnBoard, altitude, doMove''] call [[BIS_fnc_miscAnim]] | |||
|p1= anim: [[String]] - '''case-sensitive''', can be one of: | |p1= anim: [[String]] - '''case-sensitive''', can be one of: | ||
Line 32: | Line 40: | ||
* '''"twoTalking1a"''' - pair talking in front of the vehicle 0 degrees but pair is ROTATED | * '''"twoTalking1a"''' - pair talking in front of the vehicle 0 degrees but pair is ROTATED | ||
* '''"twoTalking2"''' - pair talking in side of the vehicle 90 degrees | * '''"twoTalking2"''' - pair talking in side of the vehicle 90 degrees | ||
* '''"twoTalking3"''' - pair talking in side of the vehicle 270 degrees | * '''"twoTalking3"''' - pair talking in side of the vehicle 270 degrees | ||
|p2= person1: [[Object]] - first actor | |p2= person1: [[Object]] - first actor | ||
|p3= vehicle: [[String]] - reference object (chair, table, vehicle etc.). Only used for certain anims | |p3= vehicle: [[String]] - reference object (chair, table, vehicle etc.). Only used for certain anims | ||
|p4= person2: [[Object]] - (Optional, default ''person1'') - second actor, if any | |p4= person2: [[Object]] - (Optional, default ''person1'') - second actor, if any | ||
|p5= isOnBoard: [[Boolean]] - (Optional, default [[false]]) is the unit on {{arma2}} LHD (15m height) | |p5= isOnBoard: [[Boolean]] - (Optional, default [[false]]) is the unit on {{arma2}} LHD (15m height) | ||
|p6= altitude: [[Number]] - (Optional, default 0) custom altitude to use instead of 0 or 15m | |p6= altitude: [[Number]] - (Optional, default 0) custom altitude to use instead of 0 or 15m | ||
|p7= doMove: [[Anything]] - (Optional, default [[false]]) nil to [[setPos]] unit, any value to make it move ''via'' | |p7= doMove: [[Anything]] - (Optional, default [[false]]) nil to [[setPos]] unit, any value to make it move ''via'' | ||
[[doMove]] ([[true]] for readability) | [[doMove]] ([[true]] for readability) | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["twoTalking1", unit1, myCar, unit2] call BIS_fnc_miscAnim;</sqf> | ||
| [[playMove]] | |seealso= [[playMove]] [[switchMove]] [[playAction]] | ||
}} | }} | ||
Latest revision as of 00:25, 2 February 2024
Description
- Description:
- Setting up the animations with correct positions for object - choose correct performance. For ex. fixingTowingTractor (read the description).
- Execution:
- call
- Groups:
- Scenes
Syntax
- Syntax:
- [anim, person1, vehicle, person2, isOnBoard, altitude, doMove] call BIS_fnc_miscAnim
- Parameters:
- anim: String - case-sensitive, can be one of:
- "BagFenceSittingOn1" - sitting on the bagfance - front
- "fixingHumwee1" - fixing Hummwee - engine
- "fixingTowingTractor" - fixing the right front wheel of towing tractor
- "heliChecking1" - checking, assembling helicopter - thermal rocket silo - VENOM
- "heliChecking2" - checking, assembling helicopter - ROTATEGUN
- "heliCleaning1" - cleaning,checking, helicopter MH60 - cockpit outside
- "heliNavi1" - navigating helicopter
- "lyingAlongVehicle1" - lying near the vehicle - LEFT
- "lyingAlongVehicle1b" - lying near the vehicle - RIGHT
- "sittingOnTheChair1" - sitting on the foldChair (with geton from the RIGHT side)
- "sittingOnTheChair1L" - sitting on the foldChair (with geton from the LEFT side)
- "sittingOnTheChair2" - sitting-banded on the foldChair (with geton from the RIGHT side)
- "sittingOnTheChair3a" - Sykes-like sitting
- "sittingOnTheChair3b" - Rodriguez-like sitting
- "tableSittingOn1" - sitting on the table - front
- "tableSupportTalking1" - talking leaning on table - from front
- "tableSupportTalking2" - talking leaning on table - from side
- "twoTalking1" - pair talking in front of the vehicle 0 degrees
- "twoTalking1a" - pair talking in front of the vehicle 0 degrees but pair is ROTATED
- "twoTalking2" - pair talking in side of the vehicle 90 degrees
- "twoTalking3" - pair talking in side of the vehicle 270 degrees
- person1: Object - first actor
- vehicle: String - reference object (chair, table, vehicle etc.). Only used for certain anims
- person2: Object - (Optional, default person1) - second actor, if any
- isOnBoard: Boolean - (Optional, default false) is the unit on Arma 2 LHD (15m height)
- altitude: Number - (Optional, default 0) custom altitude to use instead of 0 or 15m
- doMove: Anything - (Optional, default false) nil to setPos unit, any value to make it move via doMove (true for readability)
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- playMove switchMove playAction
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