|
psm Novice
Joined: 19 Jan 2002 Posts: 34 Location: Austria
|
Posted: Wed Feb 06, 2002 12:51 pm
and the automapper is bugging again |
Some room in the mud i am in, countain words like up, down or other directions in the describtion. especially if the describtion is a bit longer, it takes the exit from the last few lines in the describtion, while the actual directions are ignored.
example:
Hallways lead both north and south toward strange shrines, while the clanhall continues to the west. Eastward lies the exit back to the town proper.
- North - East - South - West
If the describtion looks like that, the automapper ignores the real exit-line
how can i set the mapper, to take the real exit line, starting
_-_direction_
i tried to set the keyword in the preferences to _-, but then it ignores the directions after the first.
anyone who could help?
PS: the underline _ is used for better viwing of white space |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Feb 06, 2002 7:52 pm |
Try settings the the keyword to " - " without the quotes and make sure to check the boxes that the Exit Line begins with the keyword and that the Exit Line also contains the kwyword within it.
If that still doesn't work, try creating this trigger:
#TRIGGER {^ - (*)$} {#TAG exit %replace("%1", " - ", " ")}
Since this trigger is a bit too general, I recommend making it an ANSI trigger and placing the corresponding ANSI sequences in the pattern, or make it a Trigger on Line Color, to make it match only when the color of the line is what you specified.
If it is not possible to do that, the have the trigger check for the precense of exits in %1 before executing the #TAG command.
Also, after creating this trigger, you must re-configure the mapper.
Kjata |
|
|
|
psm Novice
Joined: 19 Jan 2002 Posts: 34 Location: Austria
|
Posted: Thu Feb 07, 2002 9:33 am |
how do i set it to recognize color?
|
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Thu Feb 07, 2002 9:50 am |
Edit Trigger
Options tab
(right hand side)
[X] Line Color [choose colour]
TonDiening
Uses 6.16 |
|
|
|
psm Novice
Joined: 19 Jan 2002 Posts: 34 Location: Austria
|
Posted: Thu Feb 07, 2002 11:14 am |
thx a lot, works now
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|