BIS fnc door: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
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...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1 = Scripts |GROUP1=
|gr1 = Scripts


|arg= global|Multiplayer Arguments=
|arg= global|Multiplayer Arguments=
Line 11: Line 11:
|eff= global|Multiplayer Effects=
|eff= global|Multiplayer Effects=


| Changes animation phase of given door. |Description=
| Changes animation phase of given door.


| [building, doorIndex, animationPhase] call [[BIS_fnc_door]] |Syntax=
| [building, doorIndex, animationPhase] call [[BIS_fnc_door]]


|p1= building: [[Object]] - Building |Parameter 1=
|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" |Parameter 2=
|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"


|p3= animationPhase: [[Number]] - Phase of the animation, see [[animateSource]] for more information |Parameter 3=
|p3= animationPhase: [[Number]] - Phase of the animation, see [[animateSource]] for more information
| [[Nothing]] |Return value=
| [[Nothing]]


|x1= <code>[_building, 5, 1] [[call]] [[BIS_fnc_door]];</code>|Example 1=
|x1= <code>[_building, 5, 1] [[call]] [[BIS_fnc_door]];</code>


| [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]] |See also=
| [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]]
}}
}}

Revision as of 23:03, 17 January 2021

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