BIS fnc supplydrop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
m (Text replacement - " {3,}\|" to " |")
Line 10: Line 10:


| [airUnit,class] spawn [[BIS_fnc_supplydrop]]
| [airUnit,class] spawn [[BIS_fnc_supplydrop]]


|p1= airUnit: [[Object]] - Air Unit
|p1= airUnit: [[Object]] - Air Unit
Line 19: Line 18:


| [[Nothing]]
| [[Nothing]]


|exec= spawn
|exec= spawn

Revision as of 23:59, 18 January 2021

Hover & click on the images for description

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