BIS fnc halo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|game2= arma2oa | |||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
| | |game4= arma3 | ||
|version4= 0.50 | |||
|gr1= Systems | |gr1= Systems | ||
|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 | {{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 18: | Line 26: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[player] call BIS_fnc_halo; // instantly parachutes the player object</sqf> | ||
|x2= < | |x2= <sqf>[player, 100] call BIS_fnc_halo; // increases the altitude of player by 100 before HALO</sqf> | ||
|seealso= [[setUnitFreefallHeight]] [[getUnitFreefallInfo]] | |||
}} | }} | ||
Latest revision as of 14:04, 13 July 2022
Description
- Description:
- Makes a High Altitude Low Opening (HALO) parachute jump.
- 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:
- Example 2:
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