BIS fnc doorClose: Difference between revisions
Jump to navigation
Jump to search
m (sa) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|arma3 | |game1= arma3 | ||
|1.00 | |version1= 1.00 | ||
<!--|exec= server|=--> | <!--|exec= server|=--> | ||
| arg = global | |arg= global | ||
| eff = global | |eff= global | ||
| | |descr=Close a door with an animated doorhandle. | ||
|mp= Effect is global | |mp= Effect is global | ||
|[building, | |s1= [building, doorAnimation, handleDownAnimation, doorHandleUpAnimation, animationPhase] [[call]] [[BIS_fnc_DoorClose]] | ||
|p1=building: [[Object]] - (Optional, default [[objNull]]) Building | |p1=building: [[Object]] - (Optional, default [[objNull]]) Building | ||
|p2= | |p2=doorAnimation: [[String]] - (Optional, default "") Name of the door animation | ||
|p3= | |p3=handleDownAnimation: [[String]] - (Optional, default "") Animation source of handle down | ||
|p4= | |p4=doorHandleUpAnimation: [[String]] - (Optional, default "") Animation source of handle up | ||
|p5=animationPhase: [[Number]] - (Optional, default 0) Value from 0 | |p5=animationPhase: [[Number]] - (Optional, default 0) Value from 0-1 | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[building," | |x1= <code>[building,"doorAnimation","animationUp","animationDown",1] [[call]] [[BIS_fnc_DoorClose]]</code> | ||
|exec= call | |exec= call | ||
| [[ | |seealso= [[animate]] [[animateSource]] [[BIS_fnc_Door]] | ||
}} | }} |
Revision as of 01:50, 6 January 2020
Description
- Description:
- Close a door with an animated doorhandle.
- Execution:
- call
- Multiplayer:
- Effect is global
- Groups:
- Uncategorised
Syntax
- Syntax:
- [building, doorAnimation, handleDownAnimation, doorHandleUpAnimation, animationPhase] call BIS_fnc_DoorClose
- Parameters:
- building: Object - (Optional, default objNull) Building
- doorAnimation: String - (Optional, default "") Name of the door animation
- handleDownAnimation: String - (Optional, default "") Animation source of handle down
- doorHandleUpAnimation: String - (Optional, default "") Animation source of handle up
- animationPhase: Number - (Optional, default 0) Value from 0-1
- Return Value:
- Nothing
Examples
- Example 1:
[building,"doorAnimation","animationUp","animationDown",1] call BIS_fnc_DoorClose
Additional Information
- See also:
- animate animateSource 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