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

[General] Damage Notifer

Status
Not open for further replies.
Level 7
Joined
Jul 18, 2012
Messages
136
How to make :
When Some Hero attacks creep/boss or whatever the damage display up the enemy he attack.(Text Form)
And One more Thing, im ussing this trigger for neutral hostfile (creeps) respawn. But Somethink don't work. They don't revive.
  • Revive Creeps
    • Events
      • Unit - A unit owned by Neutral Hostile Dies
    • Conditions
    • Actions
      • -------- Revives a creep after 60 seconds (at his initial position) --------
      • Custom script: local integer id = GetUnitTypeId(GetTriggerUnit())
      • Custom script: local integer i = GetUnitUserData(GetTriggerUnit())
      • Custom script: local real x = udg_CreepX[i]
      • Custom script: local real y = udg_CreepY[i]
      • Wait 30.00 seconds
      • Custom script: call SetUnitUserData(CreateUnit(Player(11), id, x, y, 0.), i)
Please Help
 
Last edited:
Status
Not open for further replies.
Top