|
Ruderion Novice
Joined: 12 Jan 2003 Posts: 33 Location: Netherlands
|
Posted: Thu Jan 26, 2006 7:19 pm
#tag mapper problem |
For some reason i cant add room descriptions with the automapper. Everything (title, exits) is captured correctly except that it doesnt capture the descriptions. I figured i would just capture them with a trigger and use the #tag command to have them added. But after setting up the trigger the mapper doesnt respond anymore. If i disable it everything works again. This is the set of triggers i have set up to #tag everything.
#CLASS {SmallScripts|map}
#TRIGGER "description" {^~[&9~]} {#T+ description2;#T+ exit;#t+ mapprompt;#T- description}
#TRIGGER "exit" {^~[Exits~:} {#T- description2;#T+ description;#T- exit} "" {disable}
#TRIGGER "description2" {^*$} {#tag desc %line} "" {disable}
#REGEX "mapprompt" {^\<\d+\/\d+ Hits\, \d+\/\d+ Mana\, \d+\/\d+ Move\, \d+ xp\, } {#tag prompt;#T- mapprompt} "" {disable}
#CLASS 0
Any ideas on what to change? If i have to change something in the automapper please say what i have to change because the configuration wizard doesnt do it correctly. |
|
_________________ Ruderion |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Jan 31, 2006 3:08 pm |
Is your description multiline? If so you'll want to
#VAR RoomDesc %concat(@RoomDesc," ",{%1})
or similar.
Then probably during the mapprompt regex:
#TAG desc @RoomDesc |
|
|
|
|
|
|
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
|
|