BIS fnc supplydrop: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2 | | | arma2 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Script for para-drop of objects. Spawns waitUntil that handles ground hit (detaching of object from parachute). Used by supplydrop service.|Description= | ||
____________________________________________________________________________________________ | |||
| [airUnit,class] spawn [[BIS_fnc_supplydrop]] |Syntax= | |||
|p1= airUnit: [[Object]] - Air Unit|Parameter 1= | |||
|p2= class: [[String]] - Object class which is dropped, two default values are available: | |||
*"reammobox": Drops and ammobox appropriate to airUnit's side | |||
*"land": Drops a car appropriate to airUnit's side|Parameter 2= | |||
| [[Nothing]] |Return value= | |||
| | |exec= spawn |= Execution | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[ [BIS_airDropVeh, "reammobox"] [[spawn]] [[BIS_fnc_supplydrop]];</code>|Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[BIS_fnc_supplydropService]] |See also= | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 22:48, 18 June 2018
Description
- Description:
- Script for para-drop of objects. Spawns waitUntil that handles ground hit (detaching of object from parachute). Used by supplydrop service.
- Execution:
- spawn
- Groups:
- Uncategorised
Syntax
- Syntax:
- [airUnit,class] spawn BIS_fnc_supplydrop
- Parameters:
- airUnit: Object - Air Unit
- class: String - Object class which is dropped, two default values are available:
- "reammobox": Drops and ammobox appropriate to airUnit's side
- "land": Drops a car appropriate to airUnit's side
- Return Value:
- Nothing
Examples
- Example 1:
[ [BIS_airDropVeh, "reammobox"] spawn BIS_fnc_supplydrop;
Additional Information
- See also:
- BIS_fnc_supplydropService
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