Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Hi, I wonder, is it possible ingame, with triggers or code to create a cage destructible, and then put target of ability being cast inside? So, later when you destroy the cage, this unit will drop...
1- A Unit casts ability on another unit, you move the target unit eventually to the cage , decreasing his size (Optional), and remove his collision, also pause him.You can skip 'Moving' idea because it's not very necessary if you plan to put the unit directly in the cage.
2- Create a special effect under the unit using Cage model ( I didn't try this , it may be bugged) [Either using create at point or on unit]
I wonder what you mean by "inside"? Do you mean that there is the cage and you can still see the caster in it? Or do you mean it in a more general way as in "there's cage that spawns/shows the caster upon death"?
Both should be possible imo (tho I didn't test it myself). I would try it by first creating the destructible cage and placing it where it's supposed to be. Add the cage into a "Destructible dies" event + bind to it the caster using hashtable and handle IDs. Then I would move the caster via SetUnitX and SetUnitY functions which ignore pathing, so they may very well move the unit inside the cage.
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.