|
Post by Darth Maul on Aug 11, 2016 9:33:26 GMT
Push Target if close to you Pushes your target if he is within 1 square of you. (next to you)
Thanks Experto Rl Pker for the idea, and thanks for not giving me your version so I had to make my own. -.-
auto 100 | listas 'N' | if [$target.posy = $posy-1] {moveitemonground $posx [$posy-1] $posz $posx [$posy-2] $posz | wait 400} auto 100 | listas 'NE' | if [$target.posx = $posx+1 && $target.posy = $posy-1] {moveitemonground [$posx+1] [$posy-1] $posz [$posx+2] [$posy-2] $posz | wait 400} auto 100 | listas 'E' | if [$target.posx = $posx+1] {moveitemonground [$posx+1] $posy $posz [$posx+2] $posy $posz | wait 400}
auto 100 | listas 'SE' | if [$target.posx = $posx+1 && $target.posy = $posy+1] {moveitemonground [$posx+1] [$posy+1] $posz [$posx+2] [$posy+2] $posz | wait 400} auto 100 | listas 'S' | if [$target.posy = $posy+1] {moveitemonground $posx [$posy+1] $posz $posx [$posy+2] $posz | wait 400} auto 100 | listas 'SW' | if [$target.posx = $posx-1 && $target.posy = $posy+1] {moveitemonground [$posx-1] [$posy+1] $posz [$posx-2] [$posy+2] $posz | wait 400}
auto 100 | listas 'W' | if [$target.posx = $posx-1] {moveitemonground [$posx-1] $posy $posz [$posx-2] $posy $posz | wait 400} auto 100 | listas 'NW' | if [$target.posx = $posx-1 && $target.posy = $posy-1] {moveitemonground [$posx-1] [$posy-1] $posz [$posx-2] [$posy-2] $posz | wait 400}
|
|
sammyyy
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Nov 4, 2016 19:32:51 GMT
View Profile
Registered On: Nov 3, 2016 16:40:21 GMT
|
Post by sammyyy on Nov 3, 2016 16:46:50 GMT
hey, recently started playing some war ots again. and realized that the pushing is like 2x faster when pushing standing 2sqms away. so im wondering if its possible to make a script that goes into a position thats 2sqms away before attempting to push, whether u gonna push n,s,w,e or diagonal. i couldnt make it my self, but i changed the numbers in this script that makes it only push if the target is 2sqms north, but i have no idea how to create a script that automaticaly gets into the position, which would make it so much faster.. anyways, you should test this when the target is standing 2 sqms above you: if [$target.posy = $posy-2] {moveitemonground $posx [$posy-2] $posz $posx [$posy-3] $posz} it literally makes it look like the person is dashing by him self and not even being pushed. -Thanks in advance
|
|
samy
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Jan 20, 2017 1:52:32 GMT
View Profile
Registered On: Dec 8, 2016 3:04:40 GMT
|
Post by samy on Dec 8, 2016 3:59:21 GMT
it push any player near me i need push only traget
|
|