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

2 Revive points each team to their point.

Status
Not open for further replies.
Level 10
Joined
Nov 3, 2009
Messages
686
Hello,

I'm making little map... WSG(Warsong Gulch) and I made 2 teams(Horde,Alliance) ex. When alliance player dies he will be revived at alliance base and when horde player die it will be revived at horde base! I made 2 triggers, but they don't want to work ;>>

Here Alliance trigger:

  • ReviveA
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Owner of (Dying unit)) Equal to Player 1 (Red)
      • (Owner of (Dying unit)) Equal to Player 2 (Blue)
      • (Owner of (Dying unit)) Equal to Player 7 (Green)
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Set NEPoint = (Center of Night Elf Start Revive <gen>)
      • Game - Display to (Player group((Owner of (Triggering unit)))) the text: You have dead... Wa...
      • Wait 5.00 seconds
      • Hero - Instantly revive (Dying unit) at NEPoint, Show revival graphics
      • Custom script: call RemoveLocation(udg_NEPoint)
Here Horde trigger:
  • ReviveH
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Owner of (Dying unit)) Equal to Player 9 (Gray)
      • (Owner of (Dying unit)) Equal to Player 12 (Brown)
      • (Owner of (Dying unit)) Equal to Player 10 (Light Blue)
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Set OrcPoint = (Center of Orc Start Revive <gen>)
      • Game - Display to (Player group((Owner of (Triggering unit)))) the text: You have dead... Wa...
      • Wait 5.00 seconds
      • Hero - Instantly revive (Dying unit) at OrcPoint, Show revival graphics
      • Custom script: call RemoveLocation(udg_OrcPoint)
Don't know what I did wrong :>
 
Level 13
Joined
Feb 18, 2009
Messages
1,381
Its because the unit is set to be controlled by 3 players (under conditions)
 
Level 13
Joined
Feb 18, 2009
Messages
1,381
So a unit dies.
Conditions (so you can understand)
the unit is owned by player 1, 2 and 7 which is false, it can only belong to one at a time. make one triiger for each player.

and instead of dying unit, use triggering unit.
 
Level 6
Joined
Oct 21, 2009
Messages
298
Ohno! English FAIL! Game message shows: You have dead...
WTF? Yeah its kinda off topic but at least now you found an english mistake!
 
Status
Not open for further replies.
Top