BIS fnc spawnCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
Line 31: Line 31:
|p5= crewType: [[String]] - (Optional, default "") Crew type
|p5= crewType: [[String]] - (Optional, default "") Crew type


| [[Array]] or [[Number]] - Created crew objects or crew count
|r1= [[Array]] or [[Number]] - Created crew objects or crew count


|x1= <code>[ BIS_vehicle, [[group]] [[player]] ] [[call]] [[BIS_fnc_spawnCrew]];</code>
|x1= <code>[ BIS_vehicle, [[group]] [[player]] ] [[call]] [[BIS_fnc_spawnCrew]];</code>

Revision as of 14:22, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
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.