Hero Revival Help

sve3n

New Member
Reaction score
0
Hello , i am confused with one hero revival system,i want to make 2 revival points , one for forcea and one for forceb
first for 1-6 players and second for 7-12 players

anyone can tell me how should i do this ? i see only for 1 point

im beginner on map editing , and sorry for my english :D
 

Zedzy

ℑΣÐℑΨ
Reaction score
41
This should work (haven't tried it).

Code:
Hero Revive
    Events
        Unit - A unit Dies
    Conditions
        ((Triggering unit) is A Hero) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Or - Any (Conditions) are true
                    Conditions
                        (Owner of (Triggering unit)) Equal to Player 1 (Red)
                        (Owner of (Triggering unit)) Equal to Player 2 (Blue)
                        (Owner of (Triggering unit)) Equal to Player 3 (Teal)
                        (Owner of (Triggering unit)) Equal to Player 4 (Purple)
                        (Owner of (Triggering unit)) Equal to Player 5 (Yellow)
                        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
            Then - Actions
                Wait ((Real((Hero level of (Triggering unit)))) x 3.00) game-time seconds
                Hero - Instantly revive (Triggering unit) at ForceARespawn, Hide revival graphics
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Or - Any (Conditions) are true
                            Conditions
                                (Owner of (Triggering unit)) Equal to Player 7 (Green)
                                (Owner of (Triggering unit)) Equal to Player 8 (Pink)
                                (Owner of (Triggering unit)) Equal to Player 9 (Gray)
                                (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
                                (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
                                (Owner of (Triggering unit)) Equal to Player 12 (Brown)
                    Then - Actions
                        Wait ((Real((Hero level of (Triggering unit)))) x 3.00) game-time seconds
                        Hero - Instantly revive (Triggering unit) at ForceARespawn, Hide revival graphics
                    Else - Actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top