BIS fnc halo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)<nowiki\/>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>")
m (Some wiki formatting)
 
Line 16: Line 16:


|descr= 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 {{arma3}}. Using this function will result in incorrect behaviour and animation.}}


|s1= [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


|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
Line 26: Line 26:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[player] [[call]] [[BIS_fnc_halo]]; // instantly parachutes the player object</code>
|x1= <sqf>[player] call BIS_fnc_halo; // instantly parachutes the player object</sqf>


|x2= <code>[<nowiki/>player, 100] call BIS_fnc_halo; // increases the altitude of player by 100 before HALO</code>
|x2= <sqf>[player, 100] call BIS_fnc_halo; // increases the altitude of player by 100 before HALO</sqf>


|seealso=
|seealso= [[setUnitFreefallHeight]] [[getUnitFreefallInfo]]
}}
}}

Latest revision as of 15:04, 13 July 2022

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:
setUnitFreefallHeight getUnitFreefallInfo

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