Jump to content
Sign in to follow this  
TripleZero9

How to set trigger to move a AI squad using player's radio request?

Recommended Posts

I want to call a AI squad as a backup while playing a mission, like calling Artilary support. How to set triggers.

Share this post


Link to post
Share on other sites

@TripleZero9,

Quote

"... AI squad as a backup..."

There's a lot of ways to do that.

Try putting this in the ON ACTIVATION field of a radio trigger,

if (alive player) exitWith{    

    goodGuys = [getPOS player, west, ["b_soldier_AR_f", "b_soldier_AR_f", "b_soldier_AR_f"]] call BIS_fnc_SpawnGroup;
    _wp = goodGuys addwaypoint [position player ,0];
    _wp setwaypointtype "move";

{ [_x] joinSilent (group player);}forEach units goodguys;

};

You can change the condition and customize the spawned AI.

Have fun!

  • Like 2

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  

×