Jump to content
Sign in to follow this  
TechnoTerrorist303

A little help with uh1 seating please

Recommended Posts

Ok so. I have this script that calls up a uh1 and uses the players position as an SAD waypoint. This is all good but so far I can only populate one door gunner seat using "this moveingunner" (the one on the port side) is there another name for the starboard side gunner position? If so, what is it???

Share this post


Link to post
Share on other sites

doesn't work....

here are the lines so far

SADGUN1 = CHOPSAD1 createUnit ["USMC_Soldier_Pilot", [0,0,0], [], 0, "CAN_COLLIDE"];
SADGUN1 moveinGUNNER SADCHOP;

SADGUN2 = CHOPSAD1 createUnit ["USMC_Soldier_Pilot", [0,0,0], [], 0, "CAN_COLLIDE"];
SADGUN2 moveinturret [sADCHOP [1]] ;

The first gunner spawns no problem and shoots at things but the other turret remains unpopulated no matter what I do.

Share this post


Link to post
Share on other sites

unitObject = ([getMarkerPos "spawnMeHere", 180, "UH1Y", someExistingGroupObject] call BIS_fnc_spawnVehicle) select 0; // 180 = facing south

Use it, live it, love it. Don't spawn individual guys than try to shove them into place, use the Functions module and let the game do the work for you! :)

Share this post


Link to post
Share on other sites

Try:

SADGUN1 = CHOPSAD1 createUnit ["USMC_Soldier_Pilot", [0,0,0], [], 0, "CAN_COLLIDE"];
SADGUN1 moveinturret [sADCHOP, 0];

SADGUN2 = CHOPSAD1 createUnit ["USMC_Soldier_Pilot", [0,0,0], [], 0, "CAN_COLLIDE"];
SADGUN2 moveinturret [sADCHOP,1] ;

But yes, using the functions to create a populated chopper is best.

Share this post


Link to post
Share on other sites

I played around with this and there are three positions for the turret as the UH1 has the co-pilot position filled as well, from memory they are

[_Object, [0]]

[_Object, [1]]

[_Object, [3]]

You need to use the moveInTurret command in the units init line to get them into the position _unit moveInTurret [_Object, [0]]; The _unit is the name of the unit you want to place there or you could just use this. The _object would be the name you give your UH1 so might be H_1 or something to that effect. As a side not there are are also 7 cargo positions in the UH1 5 in the main cargo area and 2 spots next to the gunners in the door wells.

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  

×