BIS fnc doorClose: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (filled page, needs proper example)
mNo edit summary
Line 17: Line 17:
|[building, door, doorHandleUp, doorHandleDown, animationPhase] call [[BIS_fnc_DoorOpen]]|SYNTAX=
|[building, door, doorHandleUp, doorHandleDown, animationPhase] call [[BIS_fnc_DoorOpen]]|SYNTAX=


|p1=building: [[Object]] - (Optional, default [[ObjNull]]) Building|PARAMETER1=
|p1=building: [[Object]] - (Optional, default [[objNull]]) Building|PARAMETER1=


|p2=door: [[String]] - (Optional, default "") Door animation|PARAMETER1=
|p2=door: [[String]] - (Optional, default "") Door animation|PARAMETER1=

Revision as of 19:09, 5 January 2020

Hover & click on the images for description

Description

Description:
Open a door with an animated doorhandle.
Execution:
call
Multiplayer:
Effect is global
Groups:
Uncategorised

Syntax

Syntax:
[building, door, doorHandleUp, doorHandleDown, animationPhase] call BIS_fnc_DoorOpen
Parameters:
building: Object - (Optional, default objNull) Building
door: String - (Optional, default "") Door animation
doorHandleUp: String - (Optional, default "") Handle up->down animation
doorHandleDown: String - (Optional, default "") Handle down->up animation
animationPhase: Number - (Optional, default 0) Value from 0 to 1
Return Value:
Nothing

Examples

Example 1:
[building,"doorAnim","handleUpAnim","handleDownAnim"] call BIS_fnc_DoorOpen;

Additional Information

See also:
BIS_fnc_Door

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