• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

[General] Damage Notifer

Status
Not open for further replies.
Level 8
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