• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

HELP CTF winning trigger

Status
Not open for further replies.
Level 12
Joined
Jul 2, 2004
Messages
471
Event:
Every 1 Second

Condition:
<none>

Action:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Team1Score Equal to 3
Then - Actions
Game - Victory Player X (Red) (Show dialogs, Show scores)
Else - Actions

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Team2Score Equal to 3
Then - Actions
Game - Victory Player Y (Red) (Show dialogs, Show scores)
Else - Actions
 
Level 5
Joined
Sep 8, 2004
Messages
98
dont do that kind of trigger, it'll make it lag a bit more. Instead try running the victory trigger every time they score a point.

EX:
Events:Unit enters region
Conditions
Entering unit has (flag) equal to true.
Actions
Set team 1 points = team 1 points + 1
Run Victory Trigger

(this condition is boolean, but you select unit has item under it).

(Victory Trigger)
Events
(none)
Conditions
None
Action:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Team1Score Equal to 3
Then - Actions
Game - Victory Player X (Red) (Show dialogs, Show scores)
Else - Actions

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Team2Score Equal to 3
Then - Actions
Game - Victory Player Y (Red) (Show dialogs, Show scores)
Else - Actions
 
Status
Not open for further replies.
Top