• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Trigger Request & Fixes

Status
Not open for further replies.
Level 10
Joined
Mar 19, 2010
Messages
622
Now I needed a few trigger to be used in my map.:cry:
1)All-Hero-Icon System
2)Reviving System
-Reviving Time equal to (Distance between reviving point and point of death hero divided by hero's defult movement speed)

Please if anyone can help.
 
1) Please explain further

2) As for the revival system is this what you wanted?
  • Reviving System
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set DeathLoc[(Player number of (Owner of (Triggering unit)))] = (Position of (Triggering unit))
      • Set Resstime[(Player number of (Owner of (Triggering unit)))] = ((Integer((Distance between DeathLoc[(Player number of (Owner of (Triggering unit)))] and (Center of Revival Point <gen>)))) / (Integer((Default movement speed of (Triggering unit)))))
      • Wait (Real(Resstime[(Player number of (Owner of (Triggering unit)))])) seconds
      • Hero - Instantly revive (Triggering unit) at (Center of Revival Point <gen>), Show revival graphics
I've tested it and it works, though it leaks 1 location which I'm unable to remove.

Attached the 'Revival System Map'.
 

Attachments

Status
Not open for further replies.
Back
Top