Page 1 of 1
Cast Vorti
Posted: 15.08.2014 0:30
by FrostByghte
hey guys i want a mini scipt. İ want my mage char cast vorti two step in front of him. Please help.
Re: Cast Vorti
Posted: 15.08.2014 2:54
by nah nah
Code: Select all
def vortex():
dirs = {0: (-2, 0), 1: (-2, 2), 2: (0, 2), 3: (2, 2),
4: (2, 0), 5: (2, -2), 6: (0, -2), 7: (-2, -2)}
x, y = dirs[PredictedDirection()]
z = GetSurfaceZ(x, y, WorldNum())
WaitTargetXYZ(PredictedX() + x, PredictedY() + y, z)
Cast('Energy Vortex')
Re: Cast Vorti
Posted: 16.08.2014 1:10
by FrostByghte
sorry but i dont ever use this client so can u explain me how it works?
Re: Cast Vorti
Posted: 16.08.2014 8:16
by Vizit0r
nah-nah using mega-optimized python things ))
char can have 8 direction (from 0 to 7). Depends of char direction, x and y taken from this const array. Z is land z.
Re: Cast Vorti
Posted: 16.08.2014 14:21
by nah nah
Vizit0r wrote:nah-nah using mega-optimized python things ))
это какой-нибудь делфийский стёб?
Re: Cast Vorti
Posted: 16.08.2014 15:08
by Vizit0r
поржал малеха))
на самом деле динамическое определение координат тут нафиг не надо, имхо, и только запутало автора)