Welcome to the Builder Academy

Question Mob Following

More
26 Jul 2012 02:55 #445 by Liko
Mob Following was created by Liko
Hello,

I'm having trouble getting the mob to follow another mob on loading.
Code:
Name: 'Goblin Guard Follow', VNum: [ 205], RNum: [ 116] Trigger Intended Assignment: Mobiles Trigger Type: Load , Numeric Arg: 100, Arg list: None Commands: if %findmob.263(203)% %mfollow% king %echoaround% %actor% success! end

Any suggestions?

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
26 Jul 2012 12:32 - 26 Jul 2012 12:33 #447 by Rumble
Replied by Rumble on topic Re: Mob Following
Try mfollow without the %.

mfollow king

I would also use a more complex keyword for the mob king123 etc. In case you get a player or another mob named king.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com
Last edit: 26 Jul 2012 12:33 by Rumble.

Please Log in or Create an account to join the conversation.

More
27 Jul 2012 01:55 #451 by Liko
Replied by Liko on topic Re: Mob Following

Rumble wrote: Try mfollow without the %.

mfollow king

I would also use a more complex keyword for the mob king123 etc. In case you get a player or another mob named king.


I'm still having problems with this trigger. I have it set to a LOAD type
Code:
0 n 100 if %findmob.263(203)% say found the goblin king follow king else say did not find the king! end

Now when the Goblin Guard loads, it doesn't even display any message. Any ideas?

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
27 Jul 2012 09:04 #452 by Fizban
Replied by Fizban on topic Re: Mob Following
mfollow is a better option than follow, though that can't be the issue if you're not even getting a say message. I have no clue what could be the problem either though since there's really no reason that you shouldn't be getting the say messages as far as I can tell.

Not unless the mob is charmed somehow anyway.

Please Log in or Create an account to join the conversation.

More
27 Jul 2012 15:39 #453 by Liko
Replied by Liko on topic Re: Mob Following
I fixed it. I had two different load triggers trying to load at the same time. So I wrote them as one big load trigger and everything works now :).

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds