BIS fnc doorOpen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Lou Montana moved page BIS fnc DoorOpen to BIS fnc doorOpen: name standard)
(Page filling)
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=
| Open a door with an animated doorhandle.


|[] call [[BIS_fnc_DoorOpen]]|Syntax=
{{Informative | This function uses [[animate]] internally.}} |Description=


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
| [building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call [[BIS_fnc_doorOpen]] |Syntax=
 
|p1= building: [[Object]] - (Optional, default [[objNull]]) |Parameter 1=
 
|p2= doorAnimation: [[String]] - (Optional, default "") |Parameter 2=
 
|p3= upDownAnimation: [[String]] - (Optional, default "") |Parameter 3=
 
|p4= downUpAnimation: [[String]] - (Optional, default "") |Parameter 4=
 
|p5= animationPhase: [[Number]] - (Optional, default 1) |Parameter 5=


|Datatype - description|Return value=
|Datatype - description|Return value=


|x1= <code></code>|Example 1=
|x1= <code>[_house, "door_1_rot", [[nil]], [[nil]], 0.25]  [[call]] [[BIS_fnc_doorOpen]];</code> |Example 1=
 
|exec= call |Execution=


| |See also=
| [[BIS_fnc_doorClose]] [[BIS_fnc_door]] [[animate]] [[animateSource]] [[animateDoor]] |See also=
}}
}}


[[Category:Function Group: Scripts|{{uc:DoorOpen}}]]
[[Category:Function Group: Scripts|{{uc:DoorOpen}}]]
[[Category:Functions|{{uc:DoorOpen}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:DoorOpen}}]]

Revision as of 09:38, 2 July 2020

Hover & click on the images for description

Description

Description:
Open a door with an animated doorhandle.
This function uses animate internally.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call BIS_fnc_doorOpen
Parameters:
building: Object - (Optional, default objNull)
doorAnimation: String - (Optional, default "")
upDownAnimation: String - (Optional, default "")
downUpAnimation: String - (Optional, default "")
animationPhase: Number - (Optional, default 1)
Return Value:
Datatype - description

Examples

Example 1:
[_house, "door_1_rot", nil, nil, 0.25] call BIS_fnc_doorOpen;

Additional Information

See also:
BIS_fnc_doorClose BIS_fnc_door animate animateSource animateDoor

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