BBot - The best bot of the world
[MACRO] KeepDistance Player ( Perfect for MC on EK,ED) - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Free Scripts (https://forums.bmega.net/forum-10.html)
+--- Thread: [MACRO] KeepDistance Player ( Perfect for MC on EK,ED) (/thread-11861.html)



[MACRO] KeepDistance Player ( Perfect for MC on EK,ED) - jferral - 09-19-2013

First all You need the ID of Player that you want keep X distance

Code:
4500 {ID EK} IDEK:=Creature.Self() HUD.Display(!IDEK!)

ID of EK will DISPLAY ON PLAYER SCREEN

or

Code:
Creature.Self()

for second option is necesary to run macro in debug mode in order to get PLAYER ID

Ex: my EKID
PHP Code:
Start-Of-Macro

Creature
.Self() returned 47524498
!IDEKhas been set to 47524498

HUD
.Display(!IDEK!) returned 1
End
-Of-Macro 

Next: you need to put this in your second char, example i put on my druid:


Code:
1000 {KeepDistance of EK} Creature.KeepDistance(YOUR EK ID, SQM)

Example:

Code:
1000 {KeepDistance of EK} Creature.KeepDistance(47524498, 5)
and the druid will keep 5 sqm distance from EK Smile

for me was very usefull to hunt MC, EK & HEALER Big Grin


RE: [MACRO] KeepDistance Player ( Perfect for MC on EK,ED) - Kimoszin - 09-19-2013

[macro]1000 {Auto Keep Distance} sqm:=5 target:=Creature.ByName(Kimoszin) Creature.KeepDistance(!target!, !sqm!)[/macro]


RE: [MACRO] KeepDistance Player ( Perfect for MC on EK,ED) - jferral - 09-19-2013

(09-19-2013, 09:15 AM)Kimoszin Wrote: [macro]1000 {Auto Keep Distance} sqm:=5 target:=Creature.ByName(Kimoszin) Creature.KeepDistance(!target!, !sqm!)[/macro]

i think that nobody was posted srry Smile


RE: [MACRO] KeepDistance Player ( Perfect for MC on EK,ED) - Noowy - 09-19-2013

work 100% thanks reput


RE: [MACRO] KeepDistance Player ( Perfect for MC on EK,ED) - Kimoszin - 09-19-2013

I just posted to show you that you can do everything in a single macro.