• 🏆 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] Scripting Help(first time map maker project underway)

Status
Not open for further replies.
Level 2
Joined
Mar 15, 2009
Messages
6
Hey im a first time map maker and im wondering if anyone can help me out with making a certant trigger, When the distruction of one building occurs, the game ends with A team winning B team losing. and a Timed kind of thing. where after 10 min of play if B team's building is yet to be destroyed they win
 
Level 13
Joined
May 11, 2008
Messages
1,198
yeah that's not very hard, it would be easier for to show you if you posted a test map but i'll show you it. i think telling would be kindof pointless since you're so new, might not understand...

you need a timer variable, so don't forget to make one of those. the triggers use one. mine is called tmr.

it doesn't seem like there is a way to make the title of the timer window be longer, so my long timer window title is cut off. i suggest you use a smaller title than i used.

(Ctrl+B pulls up the variable screen)

edit: now that i think about it i forgot to add end of game announcements...
basically you want to put for the first actions of those triggers first of all turn off the victory and defeat triggers. second make announcements to the players like, player 12 lost his altar! game over! or, player 1 did not destroy player 12's altar! game over! Game - Display text to players "text here" and then put an action after that, wait 15 seconds. then you do the defeat and victory stuff. you can even put a 2 second wait after defeating one team before giving victory to the other. that might be good.
 

Attachments

  • simplevictoryanddefeat.w3m
    12.6 KB · Views: 28
Status
Not open for further replies.
Top