BIS fnc door: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (filled page)
Line 5: Line 5:
|1.00|Game version=
|1.00|Game version=


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


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


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


|[] call [[BIS_fnc_Door]]|Syntax=
|[building, doorIndex, animationPhase] call [[BIS_fnc_Door]]|Syntax=
 
|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=


|p1= parameter: [[Object]] - Building |Parameter 1=
|p2= parameter: [[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=
|p3= animationPhase: [[Number]] - Phase of the animation, see [[animateSource]] for more information |Parameter 2=
|Datatype - description|Return value=
|Datatype - description|Return value=


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


|exec= call |Execution=
|exec= call |Execution=


| |See also=
| [[BIS_fnc_DoorOpen]] [[BIS_fnc_DoorNoHandleOpen]] |See also=
}}
}}



Revision as of 02:35, 5 January 2020

Hover & click on the images for description

Description

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

Syntax

Syntax:
[building, doorIndex, animationPhase] call BIS_fnc_Door
Parameters:
parameter: Object - Building
parameter: 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:
Datatype - description

Examples

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

Additional Information

See also:
BIS_fnc_DoorOpen BIS_fnc_DoorNoHandleOpen

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