Jump to content
Sign in to follow this  
rds100

createVehicle & player="PLAY CDG",

Recommended Posts

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×