BIS fnc spawnCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=")
m (Text replacement - "</dd> </dl>" to "</dd> </dl>")
Line 52: Line 52:
This makes FFV units but no cargo crew.
This makes FFV units but no cargo crew.
</dd>
</dd>
</dl>
</dl>

Revision as of 17:06, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[vehicle,group,dummyMode,dummyType,crewType]] call BIS_fnc_spawnCrew
Parameters:
vehicle: Object - Vehicle
group: Group - Crew's group
dummyMode: Boolean - (Optional, default false) true to enable dummy mode
dummyType: String - (Optional, default "") Dummy type
crewType: String - (Optional, default "") Crew type
Return Value:
Array or Number - Created crew objects or crew count

Examples

Example 1:
[ BIS_vehicle, group player ] call BIS_fnc_spawnCrew;

Additional Information

See also:
crew

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
Posted on February 24, 2015 - 21:52 (UTC)
Tankbuster
This makes FFV units but no cargo crew.