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!
set tempPoint1 = unit position of caster
for variable tempInt 1 to 6:
set tempPoint2 = tempPoint1 offset by 400 facing tempReal
set tempReal = tempreal + 60
special effect - create special effect at tempPoint2
special effect - destroy last created special effect (removes leaks)
Each special effect needs to be created separately. This is an iterative process so I would advise some kind of loop for efficiency. You may want to provide the functionality in the form of a function call to avoid possible procedural coupling if you need to create different special effects at different parts of your script.
Be aware that all created special effects should eventually be destroyed when no longer useful. This is not automatic so even if an animation makes it appear as if an effect is long gone it will still be there and consume system resources. This can lead to data management problems in the case of many effects in parallel which you need to solve.
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.