Exocet Posted August 12, 2019 Posted August 12, 2019 Hello, I need to make a trigger that activates an infantry group when I enter an area and disable this group when I leave this area The problem is that once the group is disabled by the zone exit, I can not activate it anymore at all Thank for your help
wolf5 Posted August 12, 2019 Posted August 12, 2019 Look at this exemple. Enter the zone, you get message "in zone". Leave the zone, message "out zone" and you can repeat each time you enter/leave the zone. Should work as you need.in_out_zone.miz People fly planes, pilots fly helicopters
Exocet Posted August 12, 2019 Author Posted August 12, 2019 I updated your mission, it's closer to what I want to doin_out_zone.miz
wolf5 Posted August 12, 2019 Posted August 12, 2019 It was just an exemple. Up to you to change it as you need People fly planes, pilots fly helicopters
Exocet Posted August 12, 2019 Author Posted August 12, 2019 but it does not work with group activation / deactivation apparently
wolf5 Posted August 12, 2019 Posted August 12, 2019 Oh, maybe a bug. "Group AI ON/OFF" works, not sure to have a better solution. People fly planes, pilots fly helicopters
feefifofum Posted August 12, 2019 Posted August 12, 2019 You'll need to venture into the wonderful world of .lua if you want to repeatedly respawn/despawn the same group. Check out the following functions for the start down the path - group.getByName() group.destroy() mist.respawnGroup() THE GEORGIAN WAR - OFFICIAL F-15C DLC
Recommended Posts