BIS fnc door: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - " |s1=[" to " |s1= [")
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Scripts


<!---|arg= local |Multiplayer Arguments=--->
|arg= global


<!---|eff= local |Multiplayer Effects=--->
|eff= global


| ''N/A'' |Description=
|descr= Changes animation phase of given door.


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


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|p1= building: [[Object]] - Building


|Datatype - description|Return value=
|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"


|x1= <code></code>|Example 1=
|p3= animationPhase: [[Number]] - Phase of the animation, see [[animateSource]] for more information
|r1= [[Nothing]]


|exec= call |Execution=
|x1= <sqf>[_building, 5, 1] call BIS_fnc_door;</sqf>


| |See also=
|seealso= [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]]
}}
}}
[[Category:Function Group: Scripts|{{uc:Door}}]]
[[Category:Functions|{{uc:Door}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:Door}}]]

Revision as of 00:11, 13 July 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