• 🏆 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!

[Trigger] Unit has Chance after death to Rise us Zombi!

Status
Not open for further replies.
Level 4
Joined
Apr 19, 2008
Messages
37
Hi i need help with this trigger for Risk Evolution 1.5 for Zombi commander he has aura that makes all his units to have chance to come back us zombi
like soldiers light one zombi lvl 1 and so on. And i olso need help with some other triggers.
 
Level 25
Joined
Jun 5, 2008
Messages
2,572
  • Events - Unit dies
  • Conditions - Dying unit has *your buff*
  • Actions - Set *chance* to random number between *x* and *y*
    • - If/then/else
      • -IF *chance* equal to *y*
        • -Then
          • - Set Dying_Point = position of dying unit
          • - Unit create 1 Zombie at Dying_Point
          • - custom script: call RemoveLocation(udg_Dying_Point)
      • -Else do nothing
But i am not sure if you can check for buff for dying units.
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
You can also do it the other way around. Just like Black Arrows, you rise a unit on death. But in this case, you make a 50% chance to remove the created unit immediately. Should have the same results as long as there is nothing that has effect on created/removed units or something.
 
Level 4
Joined
Apr 19, 2008
Messages
37
A problem is im not very skilled in triggers all triggers were made by Priwin and he stoped work with Risk Evo i need trigger he made to be finished in other words i need new m8 to work with Risk Evolution.
 
Status
Not open for further replies.
Top