Jump to content
Sign in to follow this  
griffz

assignAsTurret

Recommended Posts

i'm looking to replace an arma2 command assignAsGunner $vehicle with the proper arma3 compatible command.

As seen here : http://community.bistudio.com/wiki/assignAsTurret

the content of the script:

_unit assignAGunner _vehicle
.

i tried

_unit assignAsTurret [_vehicle,0]
and
_unit assignAsTurret [_vehicle,[0]]

Any help appreciated

Share this post


Link to post
Share on other sites

the madrid , and needed too on marshall

edit: okay i found . first, assign as gunner , unit assignasgunner $vehiclename

then moveing it inside , instantly , unit moveingunner $vehiclename

Edited by griffz

Share this post


Link to post
Share on other sites

Don't think those vehicles have a "turret" in the sense of assignAsTurret. The Ghosthawk does, the Co-Pilot and Right Gunner for example.

UH-80:

player moveInGunner ghostHawk; // Left Gunner seat
player moveInTurret [ghostHawk, [0]]; // Co-Pilot seat
player moveInTurret [ghostHawk, [1]]; // Left Gunner seat
player moveInTurret [ghostHawk, [2]]; // Right Gunner seat

For the Marshall and Madrid it looks like moveInTurret [veh, [0]] would be the same as moveInGunner for them.

Edited by kylania

Share this post


Link to post
Share on other sites

it seems not. moveinturret doesn't works in this case.

Share this post


Link to post
Share on other sites

Something is not right there, getting in the gunner position of either marid or marshal and using assignedvehiclerole player returns ["Turret",[0]].

Using u1 assignasturret [apc1,[0]]; [u1] ordergetin true; , checking the assigned role of u1 returns correct as above but they do not react to the getin order, manuallly selecting u1 and pointing at the apc makes him load up as the gunner once he has been assigned that position :/

u1 moveingunner apc1

or

u1 moveinturret [apc1,[0]]

both work fine for me

Edited by Larrow

Share this post


Link to post
Share on other sites

There's a similar issue with the GET IN waypoint and the Ghosthawk. If you have a Get In waypoint with enough guys to fill the helo, the Co-pilot and Right Gunner (the two non-gunner turrets) won't get filled. This issue was reported.

Share this post


Link to post
Share on other sites

Ok i can get

u1 assignasturret [apc1,[0]];
[u1] ordergetin true;

to work but only when the unit is not part of my group.

In the previous post i was experimenting through the debug console with the unit grouped to me, as soon as i degrouped him and re previewed and run the commands through the console again he boarded the gun first time :/

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  

×