BIS fnc supplydrop: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1 = Supports | |gr1 = Supports | ||
| Script for para-drop of objects. Spawns waitUntil that handles ground hit (detaching of object from parachute). Used by supplydrop service. | | Script for para-drop of objects. Spawns waitUntil that handles ground hit (detaching of object from parachute). Used by supplydrop service. | ||
| [airUnit,class] spawn [[BIS_fnc_supplydrop]] | | [airUnit,class] spawn [[BIS_fnc_supplydrop]] | ||
|p1= airUnit: [[Object]] - Air Unit | |p1= airUnit: [[Object]] - Air Unit | ||
|p2= class: [[String]] - Object class which is dropped, two default values are available: | |p2= class: [[String]] - Object class which is dropped, two default values are available: | ||
*"reammobox": Drops and ammobox appropriate to airUnit's side | *"reammobox": Drops and ammobox appropriate to airUnit's side | ||
*"land": Drops a car appropriate to airUnit's side | *"land": Drops a car appropriate to airUnit's side | ||
| [[Nothing]] | | [[Nothing]] | ||
Line 24: | Line 24: | ||
|x1= <code>[ [BIS_airDropVeh, "reammobox"] [[spawn]] [[BIS_fnc_supplydrop]];</code> | |x1= <code>[ [BIS_airDropVeh, "reammobox"] [[spawn]] [[BIS_fnc_supplydrop]];</code> | ||
| [[BIS_fnc_supplydropService]] | | [[BIS_fnc_supplydropService]] | ||
}} | }} | ||
Revision as of 23:48, 17 January 2021
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:
- Supports
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