• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Raise skeleton warrior and carrion beatles not auto cast

Status
Not open for further replies.
Level 13
Joined
Jul 12, 2018
Messages
510
create a dummy spell based on channel, make its stats such as you want them, write a trigger based on event "Unit starts the effect of an ability" condition: it's the right ability, action: set temporary location at the unit casting the spell, create a dummy unit at the temporary location, add Raise Dead to the dummy unit, order dummy unit to cast raise dead. Add a short expiration timer to remove the dummy unit after it has time to only cast once, then remove the location leak from where the dummy was created.

Do a forum search for dummy units and leaks if you're not familiar with the terms.
 
Level 13
Joined
Jul 12, 2018
Messages
510
that isn't much work if you're really trying to make maps mate, take heart xD

you can give the abilities you created to the dummy unit, and set them to the level of the dummy abil that's based on channel before the dummy unit is ordered to cast them. That way you keep most of your work. you're just adding an extra layer of the new hero ability that triggers the stuff you already made to be casted.
 
Level 13
Joined
Jul 12, 2018
Messages
510
I don't think using the channel spell is a good idea, because it doesn't have the error message of "There is no a nearby corpse".
Use the ability of the "Necromancer wand" (I don't know the name in English).

Good point. you could ofc trigger the response by looking for nearby dead units as im sure you know, but it wouldn't be as clean and would be more work.
 
Status
Not open for further replies.
Top