🏆 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!
I need a Lizard basilisk in my map, that has 25% chance every attack petrify enemie for x seconds. I´ve thinked bash hability, but how to change enemy aspect to gray like a stone?
Use a Damage Engine to handle the 25% chance to activate on attack.
When it activates, order a Dummy unit cast a unique Storm Bolt ability on the target and change the target's colors using vertex coloring. This should help with resetting a unit back to it's original colors:[Snippet] GetUnitVertexColor
Then add the target to a "petrified" Unit Group and turn on a "Loop" trigger that has a Periodic Interval of 0.10 seconds. This Loop trigger should be set to Initially OFF since it only needs to be on while a unit is petrified.
This Loop trigger will pick every unit in the petrified Unit Group and check to see if they have the petrified buff (which is applied by the dummy Storm Bolt ability).
If they no longer have the buff then remove them from the Unit Group and reset their vertex colors. Finally, check to see if the number of units in the Unit Group is Equal to 0, and if it is, turn off the Loop trigger.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.