BIS fnc doorOpen: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Lou Montana moved page BIS fnc DoorOpen to BIS fnc doorOpen: name standard) |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|1.00|Game version= | |1.00|Game version= | ||
|gr1 = Scripts |GROUP1= | |||
|arg= global |Multiplayer Arguments= | |||
| | |eff= global |Multiplayer Effects= | ||
| | | Open a door with an animated doorhandle. | ||
| | {{Informative | This function uses [[animate]] internally.}} |Description= | ||
| | | [building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call [[BIS_fnc_doorOpen]] |Syntax= | ||
| | |p1= building: [[Object]] - (Optional, default [[objNull]]) |Parameter 1= | ||
| | |p2= doorAnimation: [[String]] - (Optional, default "") |Parameter 2= | ||
| |See also= | |p3= upDownAnimation: [[String]] - (Optional, default "") |Parameter 3= | ||
|p4= downUpAnimation: [[String]] - (Optional, default "") |Parameter 4= | |||
|p5= animationPhase: [[Number]] - (Optional, default 1) |Parameter 5= | |||
| [[Nothing]] |Return value= | |||
|x1= <code>[_house, "door_1_rot", [[nil]], [[nil]], 0.25] [[call]] [[BIS_fnc_doorOpen]];</code> |Example 1= | |||
| [[BIS_fnc_doorClose]] [[BIS_fnc_door]] [[animate]] [[animateSource]] [[animateDoor]] |See also= | |||
}} | }} | ||
Revision as of 16:08, 12 October 2020
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