BIS fnc halo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1 = Systems |GROUP1=
|gr1 = Systems |GROUP1=
____________________________________________________________________________________________


| Makes a High Altitude Low Opening (HALO) parachute jump.
| 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.}} |DESCRIPTION=
{{Feature|arma3|HALO feature is already implemented in Arma 3. Using this function will result in incorrect behaviour and animation.}} |DESCRIPTION=
____________________________________________________________________________________________


| [unit, altitude] call [[BIS_fnc_halo]] |SYNTAX=
| [unit, altitude] call [[BIS_fnc_halo]] |SYNTAX=
Line 20: Line 17:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_halo]]; {{codecomment|// Instantly parachutes the player object}}</code> |EXAMPLE1=
|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> |EXAMPLE2=
|x2= <code><nowiki>[</nowiki>player, 100] call BIS_fnc_halo; {{codecomment|// Increases the altitude of player by 100 before HALO}}</code> |EXAMPLE2=
____________________________________________________________________________________________


| |SEEALSO=
| |SEEALSO=

Revision as of 23:06, 16 January 2021

Hover & click on the images for description

Description

Description:
Makes a High Altitude Low Opening (HALO) parachute jump.
Arma 3
HALO feature is already implemented in Arma 3. Using this function will result in incorrect behaviour and animation.
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

Notes

Bottom Section