BIS fnc doorOpen: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Scripts | |gr1 = Scripts | ||
|arg= global |Multiplayer Arguments= | |arg= global |Multiplayer Arguments= | ||
Line 13: | Line 13: | ||
| Open a door with an animated doorhandle. | | Open a door with an animated doorhandle. | ||
{{Informative | This function uses [[animate]] internally.}} | {{Informative | This function uses [[animate]] internally.}} | ||
| [building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call [[BIS_fnc_doorOpen]] | | [building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call [[BIS_fnc_doorOpen]] | ||
|p1= building: [[Object]] - (Optional, default [[objNull]]) | |p1= building: [[Object]] - (Optional, default [[objNull]]) | ||
|p2= doorAnimation: [[String]] - (Optional, default "") | |p2= doorAnimation: [[String]] - (Optional, default "") | ||
|p3= upDownAnimation: [[String]] - (Optional, default "") | |p3= upDownAnimation: [[String]] - (Optional, default "") | ||
|p4= downUpAnimation: [[String]] - (Optional, default "") | |p4= downUpAnimation: [[String]] - (Optional, default "") | ||
|p5= animationPhase: [[Number]] - (Optional, default 1) | |p5= animationPhase: [[Number]] - (Optional, default 1) | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[_house, "door_1_rot", [[nil]], [[nil]], 0.25] [[call]] [[BIS_fnc_doorOpen]];</code> | |x1= <code>[_house, "door_1_rot", [[nil]], [[nil]], 0.25] [[call]] [[BIS_fnc_doorOpen]];</code> | ||
| [[BIS_fnc_doorClose]] [[BIS_fnc_door]] [[animate]] [[animateSource]] [[animateDoor]] | | [[BIS_fnc_doorClose]] [[BIS_fnc_door]] [[animate]] [[animateSource]] [[animateDoor]] | ||
}} | }} |
Revision as of 00:04, 18 January 2021
Description
Syntax
- Syntax:
- [building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call BIS_fnc_doorOpen
- Parameters:
- building: Object - (Optional, default objNull)
- doorAnimation: String - (Optional, default "")
- upDownAnimation: String - (Optional, default "")
- downUpAnimation: String - (Optional, default "")
- animationPhase: Number - (Optional, default 1)
- Return Value:
- Nothing
Examples
- Example 1:
[_house, "door_1_rot", nil, nil, 0.25] call BIS_fnc_doorOpen;
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