BIS fnc halo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Some wiki formatting)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50


|gr1 = Systems
|game3= tkoh
|version3= 1.00


| Makes a High Altitude Low Opening (HALO) parachute jump.
|game4= arma3
{{Feature|arma3|HALO feature is already implemented in Arma 3. Using this function will result in incorrect behaviour and animation.}}
|version4= 0.50


| [unit, altitude] call [[BIS_fnc_halo]]
|gr1= Systems


|p1= unit: [[Object]] - the HALO performing unit
|descr= Makes a High Altitude Low Opening (HALO) parachute jump.
{{Feature|arma3|HALO feature is already implemented in {{arma3}}. Using this function will result in incorrect behaviour and animation.}}


|p2= altitude: [[Number]] - (Optional, default 0) altitude added to the unit before HALO
|s1= [unit, altitude] call [[BIS_fnc_halo]]


| [[Nothing]]
|p1= unit: [[Object]] - the HALO-performing unit


|x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_halo]]; {{codecomment|// Instantly parachutes the player object}}</code>
|p2= altitude: [[Number]] - (Optional, default 0) altitude added to the unit before HALO


|x2= <code><nowiki>[</nowiki>player, 100] call BIS_fnc_halo; {{codecomment|// Increases the altitude of player by 100 before HALO}}</code>
|r1= [[Nothing]]
}}


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


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


[[Category:{{Name|arma2oa}}: Functions|{{uc:halo}}]]
|seealso= [[setUnitFreefallHeight]] [[getUnitFreefallInfo]]
[[Category:{{Name|tkoh}}: Functions|{{uc:halo}}]]
}}
[[Category:{{Name|arma3}}: Functions|{{uc:halo}}]]

Latest revision as of 14: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