BIS fnc doorOpen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects( \("local" or "gl...)
Line 7: Line 7:
|gr1 = Scripts
|gr1 = Scripts


|arg= global |Multiplayer Arguments=
|arg= global


|eff= global |Multiplayer Effects=
|eff= global


| Open a door with an animated doorhandle.
| Open a door with an animated doorhandle.

Revision as of 02:50, 18 January 2021

Hover & click on the images for description

Description

Description:
Open a door with an animated doorhandle.
This function uses animate internally.
Execution:
call
Groups:
Scripts

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

See also:
BIS_fnc_doorClose BIS_fnc_door animate animateSource animateDoor

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