• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Trigger - making surrender after time

Status
Not open for further replies.
Level 11
Joined
Jul 17, 2013
Messages
544
  • Paris captured
    • Events
      • Unit - City 0017 <gen> Changes owner
    • Conditions
      • ((Owner of (Triggering unit)) Equal to Player 4 (Purple)) or ((Owner of (Triggering unit)) Equal to Player 9 (Gray))
    • Actions
      • Unit Group - Pick every unit in (Units in gg wal ataltycki <gen> owned by Player 11 (Dark Green)) and do (Unit - Change ownership of (Picked unit) to Player 9 (Gray) and Change color)
      • Player - Set name of Player 2 (Blue) to Vichy France
      • Unit - Kill Edouard Daladier 1319 <gen>
      • Game - Display to (All players) for 15.00 seconds the text: Paris is captured a...
      • Unit - Change ownership of City 0013 <gen> to Player 2 (Blue) and Change color
      • Unit - Change ownership of Town 0012 <gen> to Player 2 (Blue) and Change color
      • Unit - Change ownership of City 0016 <gen> to Player 9 (Gray) and Change color
      • Unit - Change ownership of City 0017 <gen> to Player 9 (Gray) and Change color
      • Unit - Change ownership of Town 0011 <gen> to Player 9 (Gray) and Change color
      • Unit - Change ownership of Town 0014 <gen> to Player 9 (Gray) and Change color
      • Unit - Change ownership of Town 0015 <gen> to Player 9 (Gray) and Change color
      • Unit - Change ownership of Town 0018 <gen> to Player 9 (Gray) and Change color
      • Unit - Change ownership of Town 2199 <gen> to Player 9 (Gray) and Change color
      • Unit - Change ownership of Town 2304 <gen> to Player 4 (Purple) and Change color
      • Unit - Change ownership of City 0019 <gen> to Player 9 (Gray) and Change color
      • Unit - Change ownership of City 2303 <gen> to Player 2 (Blue) and Change color
      • Unit - Change ownership of City 2301 <gen> to Player 2 (Blue) and Change color
      • Unit - Change ownership of City 2302 <gen> to Player 2 (Blue) and Change color
      • Player Group - Pick every player in Kathilich and do (Player - Make (Picked player) treat Player 2 (Blue) as an Enemy)
      • Player Group - Pick every player in Kathilich and do (Player - Make Player 2 (Blue) treat (Picked player) as an Enemy)
      • Player Group - Add Player 2 (Blue) to Musulm
      • Player Group - Remove Player 2 (Blue) from Kathilich
      • Player Group - Pick every player in Musulm and do (Player - Make (Picked player) treat Player 2 (Blue) as an Ally with shared vision)
      • Player Group - Pick every player in Musulm and do (Player - Make Player 2 (Blue) treat (Picked player) as an Ally with shared vision)
      • Trigger - Turn off (This trigger)
Im not very good at gui i need your help.Ok so thats tigger and i want it to look like this: Player 9 (germany) or Player (4 purple) captures city 0017 (paris) Wait 60 seconds also send message to all players: Paris has been captured france will surrender after 60 seconds.After 60 seconds do everything in actions IF GERMANY OR ITALY KEEPS PARIS!
 
Last edited by a moderator:
Level 7
Joined
Aug 5, 2010
Messages
147
  • Paris Captured
    • Events
      • Unit - City 0017 Changes owner
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Triggering unit)) Equal to Player 4 (Purple)
          • (Owner of (Triggering unit)) Equal to Player 9 (Gray)
    • Actions
      • Game - Display to (All players) the text: Example Text
      • Wait 60.00 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Owner of (Triggering unit)) Equal to Player 4 (Purple)
              • (Owner of (Triggering unit)) Equal to Player 9 (Gray)
        • Then - Actions
          • -------- Put Your Actions here --------
        • Else - Actions
This should work for you.
 
Status
Not open for further replies.
Top