BIS fnc supplydrop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Systems(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1 = Supports |GROUP1=
|gr1 = Supports |GROUP1=
____________________________________________________________________________________________


| Script for para-drop of objects. Spawns waitUntil that handles ground hit (detaching of object from parachute). Used by supplydrop service.|Description=
| 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=
| [airUnit,class] spawn [[BIS_fnc_supplydrop]] |Syntax=
Line 26: Line 23:
|exec= spawn |Execution=
|exec= spawn |Execution=


____________________________________________________________________________________________


|x1= <code>[ [BIS_airDropVeh, "reammobox"] [[spawn]] [[BIS_fnc_supplydrop]];</code>|Example 1=
|x1= <code>[ [BIS_airDropVeh, "reammobox"] [[spawn]] [[BIS_fnc_supplydrop]];</code>|Example 1=
____________________________________________________________________________________________


| [[BIS_fnc_supplydropService]] |See also=
| [[BIS_fnc_supplydropService]] |See also=

Revision as of 00:53, 17 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


Notes

Bottom Section