Army
Junior Member
Posts: 5 Likes: 3
Currently Offline
Last Online: Mar 17, 2017 5:49:48 GMT
View Profile
Registered On: Sept 17, 2016 16:36:39 GMT
|
Post by Army on Sept 17, 2016 16:55:58 GMT
i need help to basicly mix two hotkeys that i have. The function of the hotkey is pretty simple i guess, i will target someone and the hotkey will push the player to other sqm and it will magic wall the sqm that the player was Thanks anyway and sorry for my english Hotkey to wall player sqm : if [$target.dir == 0] {set $dirx [$target.posx] | set $diry [$target.posy]} | if [$target.dir == 2] {set $dirx [$target.posx] | set $diry [$target.posy]} | if [$target.dir == 1] {set $dirx [$target.posx] | set $diry [$target.posy]} | if [$target.dir == 3] {set $dirx [$target.posx] | set $diry [$target.posy]} | if [$target.isonscreen && $target.isshootable] {useongroundxyz 3180 $dirx $diry $posz} Hotkey to push player to EAST: moveitemonground [$target.posx] [$target.posy] [$target.posz] [$target.posx+1] [$target.posy] [$target.posz]
|
|
Masi
Senior Tutor
Staff Member
Posts: 241 Likes: 198
Mini-Profile Background: {"image":"https://media.giphy.com/media/2bIP0gHS5cLhS/giphy.gif","color":"6b8d6b"}
Mini-Profile Text Color: ffffff
Currently Offline
Last Online: Nov 23, 2019 2:02:15 GMT
View Profile
Registered On: Mar 31, 2016 16:11:57 GMT
|
Post by Masi on Sept 17, 2016 18:29:20 GMT
Try this:
if [$target.dir == 0] {set $dirx [$target.posx] | set $diry [$target.posy]} | if [$target.dir == 2] {set $dirx [$target.posx] | set $diry [$target.posy]} | if [$target.dir == 1] {set $dirx [$target.posx] | set $diry [$target.posy]} | if [$target.dir == 3] {set $dirx [$target.posx] | set $diry [$target.posy]} | if [$target.isonscreen && $target.isshootable] {moveitemonground [$target.posx] [$target.posy] [$target.posz] [$target.posx+1] [$target.posy] [$target.posz] | wait 200 | useongroundxyz 3180 $dirx $diry $posz}
|
|
Army
Junior Member
Posts: 5 Likes: 3
Currently Offline
Last Online: Mar 17, 2017 5:49:48 GMT
View Profile
Registered On: Sept 17, 2016 16:36:39 GMT
|
Post by Army on Sept 17, 2016 23:32:40 GMT
Didnt work, it only push the player but dont magic wall the sqm. Any other idea?
|
|
Army
Junior Member
Posts: 5 Likes: 3
Currently Offline
Last Online: Mar 17, 2017 5:49:48 GMT
View Profile
Registered On: Sept 17, 2016 16:36:39 GMT
|
Post by Army on Sept 19, 2016 1:47:56 GMT
@bump
|
|
Masi
Senior Tutor
Staff Member
Posts: 241 Likes: 198
Mini-Profile Background: {"image":"https://media.giphy.com/media/2bIP0gHS5cLhS/giphy.gif","color":"6b8d6b"}
Mini-Profile Text Color: ffffff
Currently Offline
Last Online: Nov 23, 2019 2:02:15 GMT
View Profile
Registered On: Mar 31, 2016 16:11:57 GMT
|
Post by Masi on Sept 19, 2016 2:52:06 GMT
Try this, it will push player east and mwall west everytime you press the hotkey. (Let me know if you need/want push/mwall for north etc)
moveitemonground [$target.posx] [$target.posy] [$target.posz] [$target.posx+1] [$target.posy] [$target.posz] | wait PUSHDELAY | useongroundxyz 3180 [$target.posx-1] [$target.posy] [$target.posz]
Alternatively you can try these, they will push the player everytime there is no mwall. E.g if no mwall to the west of player, push him east and mwall the sqm you pushed him from. Push player North and mwall South:
auto 200 set $mwn $topitem.[$target.posx].[$target.posy+1].[$target.posz] | if [$mwn != 2128] {moveitemonground [$target.posx] [$target.posy] [$target.posz] [$target.posx] [$target.posy-1] [$target.posz] | wait PUSHDELAY | useongroundxyz 3180 [$target.posx] [$target.posy+1] [$target.posz]} Push player East and mwall West:
auto 200 set $mwe $topitem.[$target.posx-1].[$target.posy].[$target.posz] | if [$mwe != 2128] {moveitemonground [$target.posx] [$target.posy] [$target.posz] [$target.posx+1] [$target.posy] [$target.posz] | wait PUSHDELAY | useongroundxyz 3180 [$target.posx-1] [$target.posy] [$target.posz]} Push player South and mwall North:
auto 200 set $mws $topitem.[$target.posx].[$target.posy-1].[$target.posz] | if [$mws != 2128] {moveitemonground [$target.posx] [$target.posy] [$target.posz] [$target.posx] [$target.posy+1] [$target.posz] | wait PUSHDELAY | useongroundxyz 3180 [$target.posx] [$target.posy-1] [$target.posz]} Push player West and mwall East:
auto 200 set $mww $topitem.[$target.posx+1].[$target.posy].[$target.posz] | if [$mww != 2128] {moveitemonground [$target.posx] [$target.posy] [$target.posz] [$target.posx-1] [$target.posy] [$target.posz] | wait PUSHDELAY | useongroundxyz 3180 [$target.posx+1] [$target.posy] [$target.posz]}
Just don't forget to change PUSHDELAY.
|
|
Army
Junior Member
Posts: 5 Likes: 3
Currently Offline
Last Online: Mar 17, 2017 5:49:48 GMT
View Profile
Registered On: Sept 17, 2016 16:36:39 GMT
|
Post by Army on Sept 19, 2016 16:36:19 GMT
Thanks for your time, i have learned alot from this hotkey that you've made. it worked like a charm. I just found this forum and i'll try to participate and help others to create hotkeys etc. Thanks again sr :]
|
|
Army
Junior Member
Posts: 5 Likes: 3
Currently Offline
Last Online: Mar 17, 2017 5:49:48 GMT
View Profile
Registered On: Sept 17, 2016 16:36:39 GMT
|
Post by Army on Sept 19, 2016 22:06:16 GMT
@masi, I am facing a problem with this hotkey, it works almost perfect.. but when you push someone through a door, the bot doesnt magic wall the door sqm. Can you help me? @edit, Nevermind.. its working now, all i have to do was open the backpack which contained the magic wall rune
|
|
|
Post by Darth Maul on Sept 20, 2016 7:00:06 GMT
|
|
spirit
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Apr 4, 2018 15:33:41 GMT
View Profile
Registered On: Jan 21, 2018 20:21:40 GMT
|
Post by spirit on Mar 5, 2018 22:10:57 GMT
What is masiyah push delay?
|
|
81222210
New Member
Posts: 2 Likes: 0
Currently Offline
Last Online: Sept 7, 2018 2:32:17 GMT
View Profile
Registered On: Sept 4, 2018 23:21:38 GMT
|
Post by 81222210 on Sept 5, 2018 3:37:56 GMT
Please PUSH N.W N.E S.W S.E PLEASEEEE
|
|
|
Post by Darth Maul on Sept 21, 2018 18:34:06 GMT
|
|
japea
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Sept 21, 2020 23:32:58 GMT
View Profile
Registered On: May 5, 2020 23:25:11 GMT
|
Post by japea on May 5, 2020 23:31:58 GMT
somebody help me i searching the script push and mw i tried your script i cant work them i saw and watch video on youtube somebody using icons bot push target and use m wall target sq i cant find i asked the video owner but he selling it for money and i cant trust i pls help me i cant sleep i have to find it for sleep thanks
|
|