BBot - The best bot of the world
Help macro use item in target - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Help macro use item in target (/thread-12781.html)



Help macro use item in target - aninhamoranguinho - 11-22-2013

I would like a macro that uses the item in the selected monster.
The item id is 14051
The name of the monster that should be used is Hive Pore, 99 is the id of it as any player.


RE: Help macro use item in target - Thiaguin- - 11-22-2013

(11-22-2013, 03:41 PM)aninhamoranguinho Wrote: I would like a macro that uses the item in the selected monster.
The item id is 14051
The name of the monster that should be used is Hive Pore, 99 is the id of it as any player.

500 {Use Item} monsterCount:=1 shootID:=14051 Creatures.ByName(Hive Pore)>=!monsterCount! target:=Creature.Attacking() Creature.ShootOn(!target!, !shootID!)

.. try it.


RE: Help macro use item in target - aninhamoranguinho - 11-22-2013

I'll test! Eternally grateful.

It worked perfectly!
One last question, is to use an item without attacking creature? Cause if I strike it dies, has little life.
And thanks again, saved my day
Apologies if you do not understand something, because I am Brazilian and I am using a translator. Big Grin


RE: Help macro use item in target - Thiaguin- - 11-22-2013

(11-22-2013, 03:46 PM)aninhamoranguinho Wrote: I'll test! Eternally grateful.

It worked perfectly!
One last question, is to use an item without attacking creature? Cause if I strike it dies, has little life.
And thanks again, saved my day
Apologies if you do not understand something, because I am Brazilian and I am using a translator. Big Grin

1000 {Use Item} X:=Self.X() Y:=Self.Y() Z:=Self.Y() Creature.ByName(Hive Pore)>=1 Map.UseOn(3308, 99, !X!, !Y!, !Z!, 2)

try it.. i'm br too haha