• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Trigger] Ressurection Aura Possible or not?

Status
Not open for further replies.
Level 8
Joined
Nov 21, 2008
Messages
316
Im looking for someone to make a spell trigger for a heroin king_leopolds broken alliances.

this is basically the description. when the necromancer cast (watever name o spell is) i need it to start resurecting dead units in the area hes in. the aura will last for like 40 seconds. i need the range on the aura to be 400. i hope someone can make that for me


if its not possible tell me
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Hmm... description is still a bit vague, so I hope this is what you want:


Trigger 1:
  • Init Revive
    • Events
      • Unit - A unit Begins channeling an ability
    • Conditions
      • (Ability being cast) Equal to Wind Walk (hay)
    • Actions
      • Trigger - Turn on Revive <gen>
      • Set Caster = (Casting unit)
      • Unit - Pause Caster
Trigger 2:
  • Revive (Initially Off)
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • Set i = (i + 1)
      • Set Loc = (Position of Caster)
      • Game - Display to (All players) for 5.00 seconds the text: (Caster: + (Name of Caster))
      • Set Group = (Units within 400.00 of Loc matching (((Life of (Matching unit)) Less than 1.00) and (((Matching unit) belongs to an ally of (Owner of Caster)) Equal to True)))
      • Set Target = (Random unit from Group)
      • Set Loc = (Position of Target)
      • Unit - Create 1 (Unit-type of Target) for (Owner of Caster) at Loc facing (Facing of Target) degrees
      • Unit - Remove Target from the game
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • i Equal to 8
        • Then - Actions
          • Unit - Unpause Caster
          • Trigger - Turn off (This trigger)
        • Else - Actions
      • Custom script: call RemoveLocation(udg_Loc)
      • Custom script: call DestroyGroup(udg_Group)


I've based the ability of Wind Walk, set the channeling time to 40 seconds and changed all other stats, so it doesn't do anything else.

What does it do?

When activated, the caster will remain still and will begin reviving all units around him for 40 seconds.
Every 5 seconds, 1 unit will be brought back to life (but you can change that interval, of course).
(I have used "life less than 1", since "unit is dead" doesn't work).

You can easily add special effects (create a special effect at Loc, destroy it afterwards).
 
Level 8
Joined
Nov 21, 2008
Messages
316
see thts good and all but i dont want the necro to have to sit still i want him to be able to walk and have all the dead units he passes over to revive, sorta like a animate dead, cept every where he walks they will revive, and the ability should last 40 seconds then the aura turns off
 
Status
Not open for further replies.
Top