Difference between revisions of "BIS fnc door"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
Line 21: Line 21:
 
|r1= [[Nothing]]
 
|r1= [[Nothing]]
  
|x1= <code>[_building, 5, 1] [[call]] [[BIS_fnc_door]];</code>
+
|x1= <sqf>[_building, 5, 1] call BIS_fnc_door;</sqf>
  
 
|seealso= [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]]
 
|seealso= [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]]
 
}}
 
}}

Revision as of 14:02, 5 May 2022

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