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!
Like bassicaly i finished a spell where you summon two or more units holding the target. The thing is i cant make those units face the target in any angle i cast the spell. How can i do it?
Event
Unit - A unit starts the effect of an ability
Condition
Ability being casted equal to Clone Hold
Action
Set CloneHoldTarget = to Posistion of Targeted Unit
If level of clone hold for triggering unit equal to 1 then do Create 1 cloneunit for owner of triggering unit at target point ability being casted facing CloneHoldTarget else do nothing
make last created unit face targeted over .05 seconds
add a 1 second generic experation timer to last created unit
(then copy and pasted and changed for each level)
Set a variable to declare the facing of a unit. Probably an unit variable where this should be whoever you want your creatures face to. Then use Animation - Make unit Face unit. Put your own unit to face your caster. Also, copying and pasting with only minor changes ( such as waits ) is not good. Actually making waits is not good but anyway. Use wait 1 x Level of ability being cast or whatever formula you want to tell the game wait that long. It helps your code to be read easier.
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.