Trigger question

Ph[o]bia

New Member
Reaction score
7
In math there's function like this one:

forum_138051_1.gif


If the Point (0,0) is the caster , how to make a dummy move from the point (0,0) to move like the line of this function in this picture
 

Moridin

Snow Leopard
Reaction score
144
^ ZugZugZealot's got it right.

The X axis is natural numbers from 1 to 6 (in the diagram) while the Y axis is the square root of those numbers.

For WC3 editor, you could use point with offset (not polar offset).
 

LightChaosma

New Member
Reaction score
60
the problem here is to keep the speed constant, i'll try to cook ya a trigger

EDIT... ouch, a lot of math lolz

i now have this lol:

〖4*(1+0.25*b)〗^1.5-〖4*(1+0.25*a)〗^1.5=trigger interval*speed

where b-a is a distance on the x axis

EDIT 2:

i dont have too much time now, but i got the math done in a word document
 

Ph[o]bia

New Member
Reaction score
7
the problem here is to keep the speed constant, i'll try to cook ya a trigger

EDIT... ouch, a lot of math lolz

i now have this lol:

〖4*(1+0.25*b)〗^1.5-〖4*(1+0.25*a)〗^1.5=trigger interval*speed

where b-a is a distance on the x axis

EDIT 2:

i dont have too much time now, but i got the math done in a word document

Thanks for trying, Ill try something on my side ( even if I think i will fail ^^)
Edit1: first try failled -.-
 

LightChaosma

New Member
Reaction score
60
my try to keep a constant speed and floowow the exact line y = x^0.5 is a bit hard to impleement in WE...

it requires this funstion:

sqrt((x+0.25)/x) x+(0 sqrt((x+0.25)/x) sqrt(x))/sqrt(x+0.25)+(0.25 sqrt((x+0.25)/x) sqrt(x) sinh^(-1)(2. sqrt(x)))/sqrt(x+0.25)

i give up :p

i suggest that you try to either not follow the line exactly, but an aproximation, or accept an inconcistent speed
 
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