- Joined
- Feb 17, 2008
- Messages
- 67
So I'm trying to make a spell that move the caster froward facing his position like if he is facing 90 degrees he will move 90 degrees froward when the spell is activated.Can somebody help me with this?
AAAAARGHRGHRGHAGHRHyou will see a new ability which doesn't do anything while the spell is running...
What's that supposed to mean?Burn.
I was never a noob at warcraft modding, since I knew all of the basic principles right from when I started it due to already having known c++ and python (and being rather intelligent, if I do say so myself ).Off topic...people...I know you really want to discuss some stuff but please post posts directly related to the thread and don't spam the thread with garbage...also you where also a noob once...so treat people that want to learn with respect...nothing personal towards you...
It won't lag like hell if there's only this spell and maybe a couple of others running every 0.02 seconds, but yeah, it is kind of inefficient.About Super-sheep's spell...It would work yes....but I would not suggest you use it...mainly because it will cause your entire map to lag like hell...because he is picking all the units in the map every 0.02 seconds...
They only leak a little bit if ForGroup has been called on them, but yeah, this trigger does use ForGroup, so it will leak a bit... but not much at all.another reason is Unit Groups leak even if they are destroyed (reason why CS_Safety now has a unit group stack)...correct me if I'm wrong but I'm pretty sure there is a reason why you don't create and destroy groups on such a large scale.....
....- Unit use spell
- Spell used equal to SPELL
- Add DEVOTION AURA to triggering unit (this devotion aura has 0 aoe and target type self)
- Wait 2 seconds
- Remove DEVOTION AURA from triggering unit
---------- ---------- ----------
- Every 0.02 seconds
-
- Pick all units in playable map area matching boolean has specific buff equal to DEVOTION AURA
- - Set POINT1 = position of picked unit
- - Set POINT2 = POINT1 with polar offset 10 facing picked unit facing angle
- - Move picked unit istantly to POINT2
- - destroy leaks