Resurrecting other players heroes?

Tholdalf

New Member
Reaction score
2
How can i make resurecction resurrect other friendly players heroes? because right now it stands no friendly corpse to resurrect whenever i casts the skill.
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
pick every unit within 600 of position of triggering unit matching (matching unit is a hero equal to true) and (owner of matching unit is an ally of owner of triggering unit equal to true) and do
instantly revive picked unit at position of picked unit show revival graphics
 

Kazuga

Let the game begin...
Reaction score
110
Code:
Ressruction
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
    Actions
        Unit Group - Pick every unit in (Units within 500.00 of (Position of (Triggering unit)) matching (((Triggering unit) is A Hero) Equal to True)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) is alive) Equal to True
                    Then - Actions
                        Hero - Instantly revive (Picked unit) at (Position of (Picked unit)), Show revival graphics
                    Else - Actions
Something like this? Altough this leaks alot so just add point, unit and unit group variables etc.
Edit: Drunkengod don't be so fast^^
 

vypur85

Hibernate
Reaction score
803
((Picked unit) is alive) Equal to True
For Kazuga's trigger, change the above condition to 'False'. It should work. :)

Something like this:
Code:
Untitled Trigger 001
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Channel 
    Actions
        Unit Group - Pick every unit in (Units within 512.00 of (Position of (Triggering unit)) matching ((((Matching unit) is A Hero) Equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True)))) and do (Actions)
            Loop - Actions
                Hero - Instantly revive (Picked unit) at (Position of (Picked unit)), Show revival graphics

The above trigger is basically the combination of both Kazuga and Drunken triggers :).
 

verdr3t

New Member
Reaction score
8
Or simply add to "Targets allowed" in the Resurrection Spell:

Hero
Non-Hero


Of course with "Does Decay" on.


Peace verdr3t
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top