BIS fnc doorOpen: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ") |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|gr1= Scripts | |||
|gr1 = Scripts | |||
|arg= global | |arg= global | ||
Line 11: | Line 10: | ||
|eff= global | |eff= global | ||
| Open a door with an animated doorhandle. | |descr= Open a door with an animated doorhandle. | ||
{{Informative | This function uses [[animate]] internally.}} | {{Feature | Informative | This function uses [[animate]] internally.}} | ||
| [building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call [[BIS_fnc_doorOpen]] | |s1=[building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call [[BIS_fnc_doorOpen]] | ||
|p1= building: [[Object]] - (Optional, default [[objNull]]) | |p1= building: [[Object]] - (Optional, default [[objNull]]) | ||
Line 27: | Line 26: | ||
|p5= animationPhase: [[Number]] - (Optional, default 1) | |p5= animationPhase: [[Number]] - (Optional, default 1) | ||
| [[Nothing]] | |r1= [[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]] | |seealso= [[BIS_fnc_doorClose]] [[BIS_fnc_door]] [[animate]] [[animateSource]] [[animateDoor]] | ||
}} | }} |
Revision as of 23:38, 13 June 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