BIS fnc doorClose: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
m (filled page, needs proper example) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | |arma3|Game name= | ||
|1.00|Game version= | |1.00|Game version= | ||
<! | <!--|exec= server|=--> | ||
| arg = global | Effects in MP = | |||
| | | eff = global | Effects in MP = | ||
| | |Open a door with an animated doorhandle.|Description= | ||
| | |mp= Effect is global|= | ||
| | |[building, door, doorHandleUp, doorHandleDown, animationPhase] call [[BIS_fnc_DoorOpen]]|SYNTAX= | ||
|x1= <code></code>| | |p1=building: [[Object]] - (Optional, default [[ObjNull]]) Building|PARAMETER1= | ||
|p2=door: [[String]] - (Optional, default "") Door animation|PARAMETER1= | |||
|p3=doorHandleUp: [[String]] - (Optional, default "") Handle up->down animation|PARAMETER1= | |||
|p4=doorHandleDown: [[String]] - (Optional, default "") Handle down->up animation|PARAMETER1= | |||
|p5=animationPhase: [[Number]] - (Optional, default 0) Value from 0 to 1|PARAMETER1= | |||
| [[Nothing]] |RETURNVALUE= | |||
|x1= <code>[building,"doorAnim","handleUpAnim","handleDownAnim"] [[call]] [[BIS_fnc_DoorOpen]];</code> |EXAMPLE1= | |||
|exec= call |Execution= | |exec= call |Execution= | ||
| |See also= | | [[BIS_fnc_Door]] |See also= | ||
}} | }} | ||
Revision as of 19:07, 5 January 2020
Description
- Description:
- Open a door with an animated doorhandle.
- Execution:
- call
- Multiplayer:
- Effect is global
- Groups:
- Uncategorised
Syntax
- Syntax:
- [building, door, doorHandleUp, doorHandleDown, animationPhase] call BIS_fnc_DoorOpen
- Parameters:
- building: Object - (Optional, default ObjNull) Building
- door: String - (Optional, default "") Door animation
- doorHandleUp: String - (Optional, default "") Handle up->down animation
- doorHandleDown: String - (Optional, default "") Handle down->up animation
- animationPhase: Number - (Optional, default 0) Value from 0 to 1
- Return Value:
- Nothing
Examples
- Example 1:
[building,"doorAnim","handleUpAnim","handleDownAnim"] call BIS_fnc_DoorOpen;
Additional Information
- See also:
- BIS_fnc_Door
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