Jump to content
Sign in to follow this  
avibird 1

what command to you use to put the AI as driver/gunners using the moveInCargo

Recommended Posts

OK I know this is very simple but after I put units into a boat by using this command (man1 moveInCargo BOAT1) then use the same for each member of that team. All three members are in the boat but not as driver and the two gun positions. How did I or what do I need to do to set them as driver and gunners. thanks

Share this post


Link to post
Share on other sites

First you need to ask this at mission editor.

Seccond, look at the wiki befor asking .http://community.bistudio.com/wiki/Main_Page

Thirth seach bofore asking.

Fourth

_unit moveincago _vehicle
_unit moveindriver _vehicle
_unit moveingunner _vehicle
_unit moveincommander _vehicle

Fift use code block if posting code

Good luck...

Share this post


Link to post
Share on other sites
First you need to ask this at mission editor.

Seccond, look at the wiki befor asking .http://community.bistudio.com/wiki/Main_Page

Thirth seach bofore asking.

Fourth

_unit moveincago _vehicle
_unit moveindriver _vehicle
_unit moveingunner _vehicle
_unit moveincommander _vehicle

Fift use code block if posting code

Good luck...

This is the deal I can get the drive in and the back gun position but the front gun the unit stays in the water. I used the moveInGunner,moveInTurret and the assignAsGunner commands the third units stays in the water.

I would like the partol boats to have both gun postions filled. Any more input would be great thanks.

Share this post


Link to post
Share on other sites

I assume you mean the USMC Mk 19 RHIB?

This gets a unit in the rear gunner spot:

this moveinGunner boat;

This gets a unit in the front gunner spot:

this moveInTurret[boat,[0]];

or

this moveInCommander boat;

moveInCommander seems to work for front gun of both RHIBs.

Edited by kylania

Share this post


Link to post
Share on other sites
I assume you mean the USMC Mk 19 RHIB?

This gets a unit in the rear gunner spot:

this moveinGunner boat;

This gets a unit in the front gunner spot:

this moveInTurret[boat,[0]];

or

this moveInCommander boat;

moveInCommander seems to work for front gun of both RHIBs.

Thanks that was the missing code for the front gunner in the boat. Would I use that same code for a chopper with two MG positions.

Share this post


Link to post
Share on other sites
I assume you mean the USMC Mk 19 RHIB?

This gets a unit in the rear gunner spot:

this moveinGunner boat;

This gets a unit in the front gunner spot:

this moveInTurret[boat,[0]];

or

this moveInCommander boat;

moveInCommander seems to work for front gun of both RHIBs.

Hey kylania you are a real cool guy! thanks for all you help and the offer to look AT MY MISSION and fix my problem. I got it to work BUT you need to use the this moveInCommander boat command to get the unit into the front gunner position not the this moveInTurret for the USMC Mk 19 RHIB WTF:confused:. Thanks again and I will take you up on your offer one day!

Share this post


Link to post
Share on other sites

Glad you got it working!

I think the lack of a 'assignAsGunner' explains this

where a Hind came up on infantry and hovered to let the gunner get out and try to shoot us with his rifle instead of with his cannon. :)

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  

×