BIS fnc door: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects( \("local" or "gl...) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-z ])" to "$1 - p$2") |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|gr1= Scripts | |||
|gr1 = Scripts | |||
|arg= global | |arg= global | ||
Line 11: | Line 10: | ||
|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]] - | |p1= building: [[Object]] - building | ||
|p2= doorIndex: [[Number]] - | |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]] - | |p3= animationPhase: [[Number]] - phase of the animation, see [[animateSource]] for more information | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[_building, 5, 1] call BIS_fnc_door;</sqf> | ||
| [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]] | |seealso= [[BIS_fnc_doorOpen]] [[BIS_fnc_doorNoHandleOpen]] [[BIS_fnc_doorClose]] | ||
}} | }} |
Latest revision as of 15:46, 8 November 2023
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:
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