- Joined
- Nov 17, 2010
- Messages
- 6,788
- Solutions
- 581
- Reaction score
- 5,354
Lua:
local a = getCreaturePosition(cid)
local b = getCreaturePosition(target)
doSendDistanceShoot(a, b, CONST_ANI_CAKE)
There is definitely a time difference depending on the distance traveled.
How do I calculate the time required to traverse the distance?
or
Is there some sort of 'trigger' I can use to tell me when the effect has reached it's destination?