|
hukster Newbie
Joined: 06 Jan 2003 Posts: 4 Location: USA
|
Posted: Tue Jan 07, 2003 5:30 am
Automapper in Zmud 6.40 |
Hi,
I have another question. I know in Zmud 6.16 the auto mapper only works when i am the one leading the group. i.e. iam the one inputing n,w,e,s....etc.
I was wondering if 6.40 is able to automap zones and directions if i was part of a group and was just following the group?
Thank you. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Jan 07, 2003 6:31 am |
quote:
Hi,
I have another question. I know in Zmud 6.16 the auto mapper only works when i am the one leading the group. i.e. iam the one inputing n,w,e,s....etc.
I was wondering if 6.40 is able to automap zones and directions if i was part of a group and was just following the group?
Thank you.
It won't do it on its own. You'll need to create some triggers to identify when you start moving.
li'l shmoe of Dragon's Gate MUD |
|
|
|
Spiffy Newbie
Joined: 23 Dec 2002 Posts: 7
|
Posted: Thu Jan 09, 2003 3:58 pm |
Read the help on #map :)
|
|
|
|
theoldone Novice
Joined: 31 Dec 2002 Posts: 41 Location: USA
|
Posted: Thu Jan 16, 2003 2:05 am |
I want to do the same thing in my mud following someone would look like this
preson goes west
you follow person
i looked in help and couldent find anything to help me |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jan 16, 2003 2:24 am |
Read the help on #MAP
It covers this almost word-for-word.
LightBulb
Senior Member |
|
|
|
theoldone Novice
Joined: 31 Dec 2002 Posts: 41 Location: USA
|
Posted: Thu Jan 16, 2003 8:52 pm |
I still can't find it
am i going blind or something |
|
|
|
doomfyre Apprentice
Joined: 03 Jan 2002 Posts: 152 Location: USA
|
Posted: Thu Jan 16, 2003 9:18 pm |
Click Help.
Click Command Wizard.
Scroll down to 'map', click it.
Click 'More help'
Do the happy dance. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jan 16, 2003 9:25 pm |
MAP
Syntax: #MAP direction
Related: #PATH
Add the specified direction to the current path being recorded. Also sends the location to the mapper to move you on the map.
MAP examples
#MAP north
if the current path is .s then the path is updated to be .sn. If the current path is .2n then the path is updated to be .3n. Then you are moved one square north on the map.
#TRIGGER {%w leaves (%w)} {#MAP %1}
Follows the leader of your group and updates the map location
LightBulb
Senior Member |
|
|
|
theoldone Novice
Joined: 31 Dec 2002 Posts: 41 Location: USA
|
Posted: Thu Jan 16, 2003 10:32 pm |
Think you.
But my mud automaticly Follows the leader of your group, if i am following Bob and he goes north i go to and it will show "Bob goes north" "You Follow Bob" so i have already gone north and from what I understand this will have me go north agean. it will sometimes go so fast that client triger based follow will not keep up. I want it to do something like
Bob goes north
You Follow Bob
new room info
Bob goes east
You Follow Bob
new room info
Bob goes north
You Follow Bob
new room info
at high speed to keep up with the mud |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Jan 16, 2003 10:54 pm |
Did you try it? I can't test it right now, but from the descriptions, it doesn't appear that it will send the command to the MUD.
Kjata |
|
|
|
theoldone Novice
Joined: 31 Dec 2002 Posts: 41 Location: USA
|
Posted: Thu Jan 16, 2003 11:13 pm |
I have tested it and it does not send a command to the mud but it triggers when im not following and they leave
i want it only to trigger when is says "you follow bob" |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Jan 16, 2003 11:26 pm |
Expand the trigger pattern to include that line:
%w goes (%w)$You Follow %w
Kjata |
|
|
|
theoldone Novice
Joined: 31 Dec 2002 Posts: 41 Location: USA
|
Posted: Thu Jan 16, 2003 11:52 pm |
Think you
|
|
|
|
theoldone Novice
Joined: 31 Dec 2002 Posts: 41 Location: USA
|
Posted: Wed Jan 29, 2003 6:30 pm |
i could not get it to triger on
%w goes (%w)
You Follow %w
using "%w goes (%w)$You Follow %w" or any other newline comand i know i had it set so it trigers "bob goes (%w)" but i fall isis most of the time now, i set this script
#TRIGGER {You now follow (%w)} {#va leader %1}
#TRIGGER {You stop following} {#va leader noone}
#TRIGGER {(%w) goes (%w)} {#IF (%1=@leader) {#map %2}}
#TRIGGER {(%w) panics, and attempts to flee.} {#IF (%1=@leader) {flee}}
#TRIGGER {(%w) stops resting, and clambers to %w feet.} {#IF (%1=@leader) {stand}}
#TRIGGER {(%w) sits down and rests} {#IF (%1=@leader) {rest}}
what each part is for
#TRIGGER {You now follow (%w)} {#va leader %1}
who am i following
#TRIGGER {You stop following} {#va leader noone}
when i stop following
#TRIGGER {(%w) goes (%w)} {#IF (%1=@leader) {#map %2}}
maper
#TRIGGER {(%w) panics, and attempts to flee.} {#IF (%1=@leader) {flee}}
leader runs i run
#TRIGGER {(%w) stops resting, and clambers to %w feet.} {#IF (%1=@leader) {stand}}
leader stands i stand
#TRIGGER {(%w) sits down and rests} {#IF (%1=@leader) {rest}}
leader rests i rest
it all works but the maper |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Jan 29, 2003 8:22 pm |
How does it fail? What did you try? According to the sample MUD output you provided above, the pattern of "%w goes (%w)$You Follow %w" should work fine. Perhaps the tirgger does fire but the command to move the mapper is not working? I can't even possibly begin to imagine what's wrong without what you tried, how you tried it, and how did it not work.
Kjata |
|
|
|
|
|