• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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