Guest Posted March 31, 2003 I'am making a big battle, so i use createunit and createvehicle, but how do i assign driver,gunner and ommander to a tank with units created with createunit?? There really should be a movein command for ofp that joust put peoples in the tank. Can anybody help me out?? Share this post Link to post Share on other sites
Bullz_eye_on_my_back 0 Posted March 31, 2003 hey sleeper ...you hit the nail on the head... there already is a command for putting them in the vehicle... i think the command is <name of player> moveinCargo <name of vehicle> <name of player> moveinDriver <name of vehicle> <name of player> moveinGunner <name of vehicle> Thats just off the top of my head...it might be wrong Share this post Link to post Share on other sites
edc 0 Posted March 31, 2003 THere is also the moveincommander command. Share this post Link to post Share on other sites
Guest Posted April 1, 2003 Yes i know this, but soldiers that are created with createunit command dont have names, then ho2w do you put them into the tank??? I was talking about a movein command that dident need to spesify gunner, driver and so, that joust put them in there. Share this post Link to post Share on other sites
whisperFFW06 0 Posted April 1, 2003 After having created the vehicle named vehicle1 : </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">"SoldierWCrew" createUnit [getPos position, group grpLeader, {this moveInDriver _vehicle1}]<span id='postcolor'> Whis' Share this post Link to post Share on other sites