Elune's Arrow

CuteCumber

Member
Reaction score
4
How to make a ability that shoots a missile that travels in a straight line of the targeted angle?(Like Priestess of the Moon's Elune's Arrow)
 

FireBladesX

Eating my wings!
Reaction score
123
They're made by sliding a unit to it's facing, you can do this much better in Jass. I don't know jass.
It's still quite manageable in GUI by moving a unit to (Point with Polar Offset): Position of (Picked Unit) offset by 10 towards (facing of Picked Unit) degrees.

Run that in a periodic trigger, and periodically check to see if there are any enemies around it.

Wow, I put up same link. So I'll edit it out.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
I know how to do this via jass, but I think you want GUI instead...
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
They're made by sliding a unit to it's facing, you can do this much better in Jass. I don't know jass.
It's still quite manageable in GUI by moving a unit to (Point with Polar Offset): Position of (Picked Unit) offset by 10 towards (facing of Picked Unit) degrees.

Run that in a periodic trigger, and periodically check to see if there are any enemies around it.

Wow, I put up same link. So I'll edit it out.

what's the difference between offsets and polar offsets?
 

C0mput3r

New Member
Reaction score
20
Kinda off topic but w/e
offset: a position relative to your current position

so an offset of 10m right of me is a point 10m to the right of which ever way im facing.


the difference arises when the example: an offset of 10m east

If i was facing North, both would be equal, if I was facing South, they'd be on opposite side of me.

In shorter terms, Polar Offset just does it by Offset off an Angle.

Regular Offset is offset by co-ordinates (x,y)


And as for suggestions, you could always base a spell off of Carrion Swarm or Shockwave, and make the missile model an Arrow.

Only difference would be that It goes through trees, walls, and units.

So it pierces when the Elune's Arrow Hits.
 

Fluffball

Well-Known Member
Reaction score
35
Set the Stun Time to 0.01 (0.00 is equal to forever).
To simplify what C0mput3r said, Offset is offset by co-ordinates (which can crash your warcraft if not used correctly), Polar Offset, is range at a specific angle. (Point offset by Range towards Angle)
I personally use Polar Offset, much easier to use, and makes less lag.
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
Set the Stun Time to 0.01 (0.00 is equal to forever).
To simplify what C0mput3r said, Offset is offset by co-ordinates (which can crash your warcraft if not used correctly), Polar Offset, is range at a specific angle. (Point offset by Range towards Angle)
I personally use Polar Offset, much easier to use, and makes less lag.

perhaps, but will a .01 second stun still stop someone who is casting a spell?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top