|Description:||Returns a list of arrays, containing information about each seat in the vehicle:|
Note: This command does not work with GAME content. You can use fn vbs getCrewPos instead, which fixes this problem.
|Return Value:||Array - The same position can appear twice, since it may have more than one position type. This means that the number of elements in the array can be bigger than the number of vehicle positions. For example, if a cargo seat is also a gunner seat (if it has the turn-out ability), it is listed twice.|
_crewPositions = getCrewPos (vehicle player)
Mission to visualize crew positions: getCrewPos.zip
|See also:||turretUnit, assignedVehicleRole, crew, fn vbs findCargoPos|
- Posted on Jan 21, 2011
- Since getCrewPos does not currently return any "commander" roles, only "driver", "gunner" & "cargo", you will have to use the commander command to find him.