• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

CTF Trigger - Detect when a unit takes the flag away from a specified region.

Status
Not open for further replies.
Level 3
Joined
Aug 31, 2010
Messages
35
Hello everyone,
It may be really stupid, but I have no idea how I can detect it. I want to make a CTF and already have some triggers. I have a german Warcraft 3 - i try to translate the words as good as I can.

How the flag comes in the region (yes i know that it may be more complicated than needed):
  • CTF CaptureTeam1
    • Events
      • Unit - A unit enters Team 1 Circle <gen>
    • Conditions
      • ((Triggering unit) belongs to an ally of Player 1 (Rot)) Equal True
      • ((Triggering unit) has buff Flag Carrier ) Equal True
    • Actions
      • Item - Move CTF_ITEM_Flag to (Center of Team 1 Circle <gen>)
      • Set CTF_BOOLEAN_FlagInCircle = True
What i want:
I want to detect it when a player moves with the flag out of the circle so I can stop the bonus that the team gets when it has the flag.

Thanks in advance
 
Status
Not open for further replies.
Top