Page MenuHomeFeedback Tracker

Extend "createVehicleCrew" to provide existing group
Feedback, NormalPublic

Description

I'd like to request alternative syntax for createVehicleCrew command which would let you provide existing group instead of using vehicle's group or creating new group by vehicle's config side. This will let us easily crew vehicles with desired side rather than default one. Suggested syntax:

createVehicleCrew [ENTITY, GROUP]

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

If command version existed, you could test it with this repro:

  1. Start game with a player of non-civilian side
  2. Execute:
private _vehicle = createVehicle ["C_IDAP_UAV_06_antimine_F", player modelToWorld [0,5,0], 5, ""];
private _group = createVehicleCrew [_vehicle, createGroup side group player];
systemChat str side group _vehicle;
  1. Should output player's side in the chat rather than default CIV one.
Additional Information

Maybe also allow SIDE alongside GROUP so group is created automatically.

createVehicleCrew [_vehicle, side group player];

could work alongside

createVehicleCrew [_vehicle, createGroup side group player];

Event Timeline

SaMatra created this task.Apr 2 2023, 4:49 PM
SaMatra updated the task description. (Show Details)Apr 3 2023, 4:58 AM
BIS_fnc_KK set Ref Ticket to AIII-55647.Apr 5 2023, 4:55 PM

side createVehicleCrew vehicle
group createVehicleCrew vehicle

Revision: 150444

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Apr 5 2023, 4:57 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.