BIS fnc door: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |s1=[" to " |s1= [")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *B([a-z])" to "$1 - b$2")
Line 14: Line 14:
|s1= [building, doorIndex, animationPhase] call [[BIS_fnc_door]]
|s1= [building, doorIndex, animationPhase] call [[BIS_fnc_door]]


|p1= building: [[Object]] - Building
|p1= building: [[Object]] - building


|p2= doorIndex: [[Number]] - Index of the door used in "bis_disabled_Door_%1", "Door_%1_sound_source", "Door_%1_noSound_source", "Door_%1_locked_source"
|p2= doorIndex: [[Number]] - Index of the door used in "bis_disabled_Door_%1", "Door_%1_sound_source", "Door_%1_noSound_source", "Door_%1_locked_source"

Revision as of 13:43, 8 November 2023

Hover & click on the images for description

Description

Description:
Changes animation phase of given door.
Execution:
call
Groups:
Scripts

Syntax

Syntax:
[building, doorIndex, animationPhase] call BIS_fnc_door
Parameters:
building: Object - building
doorIndex: Number - Index of the door used in "bis_disabled_Door_%1", "Door_%1_sound_source", "Door_%1_noSound_source", "Door_%1_locked_source"
animationPhase: Number - Phase of the animation, see animateSource for more information
Return Value:
Nothing

Examples

Example 1:
[_building, 5, 1] call BIS_fnc_door;

Additional Information

See also:
BIS_fnc_doorOpen BIS_fnc_doorNoHandleOpen BIS_fnc_doorClose

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