BIS fnc halo: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 14: | Line 14: | ||
| [unit, altitude] call [[BIS_fnc_halo]] |SYNTAX= | | [unit, altitude] call [[BIS_fnc_halo]] |SYNTAX= | ||
|p1= unit: [[Object]] - the HALO performing unit |= | |p1= unit: [[Object]] - the HALO performing unit |PARAMETER1= | ||
|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 |PARAMETER2= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_halo]]; {{codecomment|// Instantly parachutes the player object}}</code> |= | |x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_halo]]; {{codecomment|// Instantly parachutes the player object}}</code> |EXAMPLE1= | ||
|x2= <code><nowiki>[</nowiki>player, 100] call BIS_fnc_halo; {{codecomment|// Increases the altitude of player by 100 before HALO}}</code> |= | |x2= <code><nowiki>[</nowiki>player, 100] call BIS_fnc_halo; {{codecomment|// Increases the altitude of player by 100 before HALO}}</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:30, 7 April 2019
Description
- Description:
- Makes a High Altitude Low Opening (HALO) parachute jump.
- Execution:
- call
- Groups:
- Uncategorised
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