Jump to content

moving trigger zone


xcom
 Share

Recommended Posts

Hi everyone,

 

Just stumbled on this issue, I can't make this trigger work!

I've set a trigger zone with 6000m radius.

There are enemy units inside the zone and outside the zone that are moving in.

 

Trigger as follows -

 

Trigger:

Continueous

 

Condition:

1. enemy units inside zone, moving trigger zone, my freindly units that the trigger zone attachs to.

2. enemy units outside the zone, moving trigger zone, my freindly units that the trigger zone attachs to.

 

Action:

1.AI task - enroute task - FAC group inside zone.

2.AI task - enroute task - FAC group outside zone.

 

 

 

basicly i just made the units that are inside the zone and outside to test when does the Continuous trigger works and when does the 3 switch condition works, cuz i don't understand the logic in it, would love an explanation.

 

Thanks for any help!

 

Edit - also is it possible to do a trigger for any coalition in zone? cuz that way the group would be much more independent.

Link to comment
Share on other sites

Continuous means that an action will keep repeating as long as the condition is true.

 

Switched condition means that the action is executed each time the condition becomes true.

The right man in the wrong place makes all the difference in the world.

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

That is fine, but how do I make my unit start engaging other unit that has entered the moving zone? Which trigger/condition/action should I input?

 

Also, can I make my unit engage by moving to the units that have entered the moving zone and how? Or will they just wait and shot when the unit is in range?

Link to comment
Share on other sites

That is fine, but how do I make my unit start engaging other unit that has entered the moving zone? Which trigger/condition/action should I input?

 

Also, can I make my unit engage by moving to the units that have entered the moving zone and how? Or will they just wait and shot when the unit is in range?

 

Sadly we don't have control of telling ground units to go to a specific location yet. But if you know where the enemy is at you can build the groups waypoints in such a way that they will meet. Basically just use "hold" on the waypoint you want the unit to stop at and then the 'group resume' action when you want it to move toward the enemy. Unless you have changed the AI's Rules of Engagement, the AI will always engage an enemy target once within range and line of sight.

The right man in the wrong place makes all the difference in the world.

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

FAC Group will make the friendly group act as a JTAC and it will target the group assigned. For ground units you also have to add the commands "set frequency" and "set callsign" in order for the ground unit to be contacted as a JTAC. This is because ground units don't have callsigns and radio frequencies by default.

The right man in the wrong place makes all the difference in the world.

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...