BIS fnc door: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Scripts(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Scripts | ||
|arg= global | |arg= global | ||
|eff= global | |eff= global | ||
| Changes animation phase of given door. | |descr= Changes animation phase of given door. | ||
| [building, doorIndex, animationPhase] call [[BIS_fnc_door]] | |s1=[building, doorIndex, animationPhase] call [[BIS_fnc_door]] | ||
|p1= building: [[Object]] - Building | |p1= building: [[Object]] - Building | ||
|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" | |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" | ||
|p3= animationPhase: [[Number]] - Phase of the animation, see [[animateSource]] for more information | | |p3= animationPhase: [[Number]] - Phase of the animation, see [[animateSource]] for more information | ||
|r1= [[Nothing]] | |||
|x1= <code>[_building, 5, 1] [[call]] [[BIS_fnc_door]];</code> | |x1= <code>[_building, 5, 1] [[call]] [[BIS_fnc_door]];</code> | ||
| [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]] | |seealso= [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]] | ||
}} | }} |
Revision as of 23:39, 13 June 2021
Description
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
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