Welcome to the Builder Academy

Question Trigger of the Day - Following Mob Assist

More
17 Apr 2017 23:38 #6635 by Rumble
yes, use %.alias% and not name. You can also use the first alias if it has multiple with
car - Returns the first word of the string. For %text%="this is the
string"; %text.car% will yield "this". TSTAT 53

HELP CHAR-VAR
HELP TEXT-VAR

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com
The following user(s) said Thank You: Sascha

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

More
18 Apr 2017 21:22 #6639 by thomas
I think this is probably something we could improve upon.

The issue is that "assist %master.name%" is translated into "assist an enormous bear".
Instead, you could use "assist %master.alias%" which should return the alias, not the s-desc, and then expand to "assist enormous bear mamabear". Which would be parsed by the server as "assist enormous". Which may or may not work, depending on whether the bear is the lastly arrived "enormous" mob.

A general fix would be to allow lookups based on UID_CHAR+id in get_char_vis.
This again would require some moving of some of the internal plumbing.
The following user(s) said Thank You: Sascha

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

More
21 Apr 2017 00:05 #6644 by Sascha
The suggested modifications work, by the way. I've added a few other twists to bring it a little more to life. Thank you everyone for you help!

Will you stand against the coming Storm? After the Breaking: STORMRIDERS MUD - atbmud.dune.net port 4000

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

Time to create page: 0.229 seconds