HELP WITH CREATURES 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: HELP WITH CREATURES ID (/thread-12065.html) |
HELP WITH CREATURES ID - otavio515 - 10-04-2013 How can i do to my bot gather a ID from: Creature.ByName(Name) and launch it to: Creature.Attack(ID) Let me explain, i was trying to make a trainer for a situation that you just can be attacked for 2 monster and the respawn is not where you are. Example: Have some minotaurs, so, i let one of those that are attacking me with low hp(28% of hp) and kill the other, when another minotaur come, the bot will verify(it's just an idea, is not the real code that we use at BBot): If Creature HP>=30% Creature.Attack(Gather the ID of the Creature with HP>=30% and put right here) Somebody can help me? even it's not possible, just tell me please. Thanks. RE: HELP WITH CREATURES ID - Kimoszin - 10-05-2013 [macro]1000 {Test} target:=Creature.ByName(Name) Creature.Attack(!target!)[/macro] |