BIS fnc halo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Page filling without seeAlso)
Line 3: Line 3:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma2oa |= Game name
| arma2 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>
| 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
File: fn_HALO.sqf
____________________________________________________________________________________________


Description:
| [unit, altitude] call [[BIS_fnc_halo]] |= Syntax
High Altitude Low Opening


Parameter(s):
|p1= unit: [[Object]] - the HALO performing unit |= Parameter 1
_this: ARRAY - starts HALO jump directly
OBJECT - waits until unit in array is out of vehicle


Returns:
|p2= altitude: [[Number]] - (Optional, default 0) altitude added to the unit before HALO |= Parameter 2
Nothing
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_halo]]; --> |= Syntax
|x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_halo]]; {{codecomment|// Instantly parachutes the player object}}</code> |= Example 1


|p1= |= Parameter 1
|x2= <code><nowiki>[</nowiki>player, 100] call BIS_fnc_halo; {{codecomment|// Increases the altitude of player by 100 before HALO}}</code> |= Example 2
 
| |= Return value
____________________________________________________________________________________________
 
|x1=Instantly shutes the player object  <code>[player] call BIS_fnc_halo;</code> |=
|x2=Increases the altitude of player by 100 and gives action to shute <code>[player,100] call BIS_fnc_halo;</code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| |= See also
}}
}}



Revision as of 14:28, 25 April 2018


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

Notes

Bottom Section