Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Bennet001

Team Switch and assuming as group leader always

Recommended Posts

Okay, guys. If this has been answered before forgive me, however I've looked for this for several days now and only come up with a close resolution through a non-trigger solution.

Is there a way, to jump from unit to unit and assume command "no matter" who you jump to "in a trigger based solution"?

I find a huge problem with helicopter assault missions is the AI pilot and gunner are beyond stupid when trying to coordinate with each other. In "real" helicopter support missions the pilot generally orbits, or hovers and allows the gunner to shoot from a static position, or a off-boresight orbit. I figure if I can assume the gunner on my lead helicopter, I can fire from a standoff position and hit the AAA positions that are protecting the area I'm about to assault.

I have another question about creating a trigger with a stationary green flare, but I guess I should create another thread for that.

Share this post


Link to post
Share on other sites

No takers at all?

I guess you could use a radio command to assign the player as team leader?

Share this post


Link to post
Share on other sites

onTeamSwitch "selectPlayer leader _to;"

place in gamelogic or units init.

Share this post


Link to post
Share on other sites

Okay, when you say "gamelogic" you mean trigger? I plugged it into the default player's 'initialization' as: onTeamSwitch "selectPlayer leader_to;" with no success.

Share this post


Link to post
Share on other sites

It will work in an init but it needs a delay, a trigger will also work

using a delay

null=[] spawn {sleep 0.5; onTeamSwitch "selectPlayer leader _to"};

if using a trigger place in the on act not the condition.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×