BIS fnc doorOpen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - " |s1=[" to " |s1= [")
 
(4 intermediate revisions by the same user not shown)
Line 14: Line 14:
{{Feature | Informative | This function uses [[animate]] internally.}}
{{Feature | Informative | This function uses [[animate]] internally.}}


|s1=[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 28: Line 28:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[_house, "door_1_rot", nil, [[nil]], 0.25]  [[call]] [[BIS_fnc_doorOpen]];</code>
|x1= <sqf>[_house, "door_1_rot", nil, nil, 0.25]  call BIS_fnc_doorOpen;</sqf>


|seealso= [[BIS_fnc_doorClose]] [[BIS_fnc_door]] [[animate]] [[animateSource]] [[animateDoor]]
|seealso= [[BIS_fnc_doorClose]] [[BIS_fnc_door]] [[animate]] [[animateSource]] [[animateDoor]]
}}
}}

Latest revision as of 00:11, 13 July 2022

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