• 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.

[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: 29
Status
Not open for further replies.
Top