BIS fnc halo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{codecomment *\| *\/\/ ([a-zA-Z _.:-]+) *\}\}" to "{{cc|$1}}") |
Lou Montana (talk | contribs) m (codecomment → cc) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|gr1 = Systems | |gr1= Systems | ||
| Makes a High Altitude Low Opening (HALO) parachute jump. | |descr= Makes a High Altitude Low Opening (HALO) parachute jump. | ||
{{Feature|arma3|HALO feature is already implemented in Arma 3. Using this function will result in incorrect behaviour and animation.}} | {{Feature|arma3|HALO feature is already implemented in Arma 3. Using this function will result in incorrect behaviour and animation.}} | ||
| [unit, altitude] call [[BIS_fnc_halo]] | |s1= [unit, altitude] call [[BIS_fnc_halo]] | ||
|p1= unit: [[Object]] - the HALO performing unit | |p1= unit: [[Object]] - the HALO performing unit | ||
Line 16: | Line 16: | ||
|p2= altitude: [[Number]] - (Optional, default 0) altitude added to the unit before HALO | |p2= altitude: [[Number]] - (Optional, default 0) altitude added to the unit before HALO | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code><nowiki | |x1= <code>[<nowiki/>[[player]]] [[call]] [[BIS_fnc_halo]]; {{cc|Instantly parachutes the player object}}</code> | ||
|x2= <code><nowiki | |x2= <code>[<nowiki/>player, 100] call BIS_fnc_halo; {{cc|Increases the altitude of player by 100 before HALO}}</code> | ||
}} | }} | ||
Revision as of 16:56, 7 February 2021
Description
- Description:
- Makes a High Altitude Low Opening (HALO) parachute jump.
- Execution:
- call
- Groups:
- Systems
Syntax
- Syntax:
- [unit, altitude] call BIS_fnc_halo
- Parameters:
- unit: Object - the HALO performing unit
- altitude: Number - (Optional, default 0) altitude added to the unit before HALO
- Return Value:
- Nothing
Examples
- Example 1:
[player] call BIS_fnc_halo; // Instantly parachutes the player object
- Example 2:
[player, 100] call BIS_fnc_halo; // Increases the altitude of player by 100 before HALO
Additional Information
- See also:
- See also needed
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