BBot - The best bot of the world
[ENG + PL] Creature.Follow() - 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: [ENG + PL] Creature.Follow() (/thread-12763.html)



[ENG + PL] Creature.Follow() - tem0x43 - 11-21-2013

Why didn't work Creature.Follow(). Macro return 1, but my character don't walk?
Code:
1000 {Follow friend} Self.Attacking()==0
MyFriendID:=Creature.ByName(FriendName)
Creature.Follow(!MyFriendID!)

Wie ktoś czemu nie działa u mnie Creature.Follow().
Też jest coś nie tak z Self.Attacking()==0, gdyż zawsze mi zwraca 0, czy to jak mnie atakuje monster czy inna postać. Zamiast FriendName wpisuję nazwę postaci za którą mam chodzić of course.


RE: [ENG + PL] Creature.Follow() - howcio - 11-21-2013

for me doesnt work too. I think creature.follow() are bugged ;/


RE: [ENG + PL] Creature.Follow() - Thiaguin- - 11-22-2013

(11-21-2013, 10:36 PM)tem0x43 Wrote: Why didn't work Creature.Follow(). Macro return 1, but my character don't walk?
Code:
1000 {Follow friend} Self.Attacking()==0
MyFriendID:=Creature.ByName(FriendName)
Creature.Follow(!MyFriendID!)

Wie ktoś czemu nie działa u mnie Creature.Follow().
Też jest coś nie tak z Self.Attacking()==0, gdyż zawsze mi zwraca 0, czy to jak mnie atakuje monster czy inna postać. Zamiast FriendName wpisuję nazwę postaci za którą mam chodzić of course.

Quote: MyFriendID:=Creature.ByName(FriendName)

Use MyFriendID:=FriendName .. not Creature.ByName(FriendName).. and try again.


RE: [ENG + PL] Creature.Follow() - tem0x43 - 11-22-2013

Don't work.
After debug:
Start-Of-Macro

Self.Attacking() returned 0
[True] Self.Attacking()==0

!MyFriendID! has been set to 0

Creature.Follow(!MyFriendID!) returned 0
End-Of-Macro