Jump to content
Sign in to follow this  
TouslyXid

Helicopter unloaded troops follow helicopter's next waypoint instead of their own.

Recommended Posts

A group with a squad leader, team leader, and a couple of others. Helicopter flies to a point, enters a trigger, causes troops inside heli to eject and land.

Problem: Soldiers seem to follow heli's next waypoint instead of the waypoint I have set for the group's leader. First waypoint is set to unload, next waypoint goes south. Troops move north, towards heli's checkpoint.

Share this post


Link to post
Share on other sites

first obvious response is: do you really have heli and troops in seperate groups?

second is: did you properly unassign the units in the trigger?

third is: do the troops have a guard wp, and heli meets enemys going north?

Share this post


Link to post
Share on other sites
first obvious response is: do you really have heli and troops in seperate groups?

second is: did you properly unassign the units in the trigger?

third is: do the troops have a guard wp, and heli meets enemys going north?

Heli AI and Troops are seperate. The troops are added into the heli with

this moveInCargo [helitransport, int]

I do not think I "unassigned" anything in the trigger. No guard WPs.

Edit: I'm searching around and have come upon something called: unassignVehicle, perhaps this is what I'm looking for...

Edited by TouslyXid

Share this post


Link to post
Share on other sites

yes you are on the right path.

you should also use

this assignAsCargo helitransport; this moveInCargo [helitransport, int];

if you dont need units to be in a special position you can just use moveInCargo helitransport, no need for seat if you dont have a special need for it in your mission.

assignAsCargo lets the vehicle actually "know" they are inside and transport unload wps and succh work correctly.

also when ejecting or unloading outside of waypoint unload, use unassignVehicle as you discovered.

Share this post


Link to post
Share on other sites

It worked. They follow their correct waypoints. Hopefully this post will help someone in the future. Thanks.

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  

×