• 🏆 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!

[AI] I need help...

Status
Not open for further replies.
Level 9
Joined
Oct 12, 2005
Messages
281
I need help making a trigger for 3 different things all involving the same unit. Also I'll need one more to make my campaign go to the next level. Ok, so here's my request... I need a trigger to make a little dialog box with text in it once i kill the end boss, it also needs to make my main hero die and finally, it needs to make me win when he's dead.
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
u can do all of that in 1 trigger, but just for help, u set things to variables (save) so the computer recognizes it in other triggers. anywo, the trigger:

events: unit dies
conditions: unit = boss (unit comparison)
actions:
unit - kill 'main hero'
game - display text
player - victory player X

u set next campaign lvls by using 'game - set next level' and there fill in the name of the map (of the next lvl) (must be exact the same or the computer wont recognize it)
 
Status
Not open for further replies.
Top