BBot - The best bot of the world
use item on npc - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: use item on npc (/thread-19627.html)



use item on npc - zarize - 03-21-2016

Hi, i need help with macro, how to use item X on npc?


RE: use item on npc - MegaNo0body - 03-21-2016

[macro]0 {Use item on NPC} ITEMID:=ITEM_ID_HERE NPCID:=Creature.ByName(NPC NAME HERE) Creature.ShootOn(!NPCID!, !ITEMID!)[/macro]

Change 'ITEM_ID_HERE' and 'NPC NAME HERE' to fit your needs.


RE: use item on npc - zarize - 03-21-2016

Ye i figured out it alone already but thank you for quick respond!it might ll be useful for others tho =)