Jump to content
Sign in to follow this  
Guest

How do i...

Recommended Posts

Guest

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

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 confused.gif

Share this post


Link to post
Share on other sites

THere is also the moveincommander command.

Share this post


Link to post
Share on other sites
Guest

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×