rds100 10 Posted March 11, 2021 Hello, who knows if using the createUnit command it is possible to create a unit available for switching? In misson file game uses this code - player="PLAY CDG", but how can I do within createUnit ? I use this code: _unit = _grp createUnit [typeOf driver _veh, _grp, [], 0, "CARGO"]; And where wil be here player="PLAY CDG"? Something like _unit = _grp createUnit [typeOf driver _veh, _grp, player="PLAY CDG", 0, "CARGO"]; ? May be I need use setVehicleInit command? _unit = _grp createUnit [typeOf driver _veh, _grp, [], 0, "CARGO"]; _unit setVehicleInit ... player="PLAY CDG" ? Like this? Share this post Link to post Share on other sites
dalber24 157 Posted March 13, 2021 maybe this can help? https://community.bistudio.com/wiki/addSwitchableUnit Share this post Link to post Share on other sites