BIS fnc supplydrop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2
____________________________________________________________________________________________
|version1= 1.00


| arma2 |= Game name
|game2= arma2oa
|version2= 1.50


|1.00|= Game version
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| <pre>/*
|game4= arma3
File: supplydrop.sqf
|version4= 0.50


Description:
|gr1= Supports
Script for para-drop of objects. Spawns waitUntil that handles ground hit (detaching of object from parachute). Used by supplydrop service.


Parameter(s):
|descr= Script for para-drop of objects. Spawns waitUntil that handles ground hit (detaching of object from parachute). Used by supplydrop service.
1: <object> air unit
2: <string> object class that will be dropped (use: "reammobox" or "land" for dropping ammobox/car appropriate to side of air vehicle)
Returns:
N/A
*/


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


|p1= airUnit: [[Object]] - air Unit


/////* SMOKE*/////
|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


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|r1= [[Nothing]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_supplydrop]]; --> |= Syntax
|exec= spawn


|p1= |= Parameter 1
|x1= <sqf>[BIS_airDropVeh, "reammobox"] spawn BIS_fnc_supplydrop;</sqf>
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_supplydropService]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Systems|{{uc:supplydrop}}]]
[[Category:Functions|{{uc:supplydrop}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:supplydrop}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:supplydrop}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:supplydrop}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:supplydrop}}]]

Latest revision as of 15:44, 8 November 2023

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