BIS fnc supplydrop: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] spawn ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2") |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
Line 15: | Line 15: | ||
|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. | |descr= Script for para-drop of objects. Spawns waitUntil that handles ground hit (detaching of object from parachute). Used by supplydrop service. | ||
|s1=[airUnit,class] spawn [[BIS_fnc_supplydrop]] | |s1= [airUnit,class] spawn [[BIS_fnc_supplydrop]] | ||
|p1= airUnit: [[Object]] - | |p1= airUnit: [[Object]] - air Unit | ||
|p2= class: [[String]] - | |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 | ||
Line 28: | Line 28: | ||
|exec= spawn | |exec= spawn | ||
|x1= < | |||
|x1= <sqf>[BIS_airDropVeh, "reammobox"] spawn BIS_fnc_supplydrop;</sqf> | |||
|seealso= [[BIS_fnc_supplydropService]] | |seealso= [[BIS_fnc_supplydropService]] | ||
}} | }} | ||
Latest revision as of 15:44, 8 November 2023
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:
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