BBot - The best bot of the world
How to gather the name of a certain creature ID - 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: How to gather the name of a certain creature ID (/thread-19205.html)



How to gather the name of a certain creature ID - Bbotone - 01-23-2016

Is there how to get the name of certain creature ID?

THere is how to get the ID of certain name, and the ID of attacking/following, but do I get the name of certain ID?

--

I need to make a macro that gets the name of who passes on my screen, any ideas?


RE: How to gather the name of a certain creature ID - damiansnk - 01-23-2016

bbot saving it and sending to attacker but about macro I guess isn't possible.
Depend what u wanna do there is 1 way like check creature by range and check if it is npc or mob of no so macro can start do something.


RE: How to gather the name of a certain creature ID - Bbotone - 01-23-2016

I see... ty


RE: How to gather the name of a certain creature ID - Catar - 01-24-2016

Everything u can do is on THIS page
There is no command that would return string value, meaning name of creature,
but u can check if the ID of creature has the name taht u put in list.
For example

Creature.NameIn(123456, Demon, Dragon Lord, Hellhound, etc....)
It will return value 1, if the ID is one of listed creatures. and 0 if not

I used this command to make my utito tempo macro on my EK, to use it only when fighting certain kind of monster
example:

Code:
target:=Creature.Attacking()
Self.Attacking()==1
Self.Mana>=640
Creature.NameIn(!target!, Hellhound)==1
Creature.Health(!target!)>=35
Self.Say(utito tempo)
exit()

________________________________________


Quote:I need to make a macro that gets the name of who passes on my screen, any ideas?
U can setup bot to make screenshot every time some1 passes by
(its in protector)