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

Map Boss Help

Status
Not open for further replies.
Level 2
Joined
Apr 18, 2013
Messages
6
ok so i need help with a 4 player free for all map.
1 player each corner of the map
main boss in the center of the map
all players have to try and kill the boss, but you can try to stop them killing it b4 you do.
anyway, im trying to make it so that when u kill the boss you win and the others loss... need help with the trigers pleace.
 
Level 29
Joined
Oct 24, 2012
Messages
6,543
this trigger checks to see if the boss unit is the one that dies. it then displays the text of the Player 1 if killing player was player 1

  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Triggering unit) Equal to bossUnit
    • Actions
      • Game - Display to (All players) the text: (Player + (String((Player number of (Owner of (Killing unit))))))
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Try this, my friend.

  • Trigger
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Dying unit) Equal to Barbed Arachnathid 0000 <gen>
    • Actions
      • Game - Victory (Owner of (Killing unit)) (Show dialogs, Show scores)
If the dying unit equal to your Boss, Make owner of the killing unit wins the game and just add defeat other players.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,199
You should handle assist kills (where 2+ players ignore each other and try to kill the boss instead, hoping to land the fatal blow) with a trip to a death match arena to let them fight out the winner. Nothing is worse than having killed 99% of a bosses HP just to have someone snipe the last shot and win (even though you did all the work).
 
Status
Not open for further replies.
Top