xcom Posted October 5, 2012 Posted October 5, 2012 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. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
Grimes Posted October 6, 2012 Posted October 6, 2012 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: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
xcom Posted October 11, 2012 Author Posted October 11, 2012 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? [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
Grimes Posted October 11, 2012 Posted October 11, 2012 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: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
xcom Posted October 11, 2012 Author Posted October 11, 2012 Thanks Grimes, that explains must of my tests. So what is the FAC group for? i've entered that triggered action when the units as an enroute action. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
Grimes Posted October 11, 2012 Posted October 11, 2012 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: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Recommended Posts