Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
azbird
Beginner


Joined: 16 Apr 2008
Posts: 21

PostPosted: Fri May 02, 2008 4:12 pm   

Trigger problem using maps
 
I've run into a problem mapping a room that has different descriptions when going thru in different directions. The room description is typical heading north: You are in tall pine trees in a light forest.

Heading south the description gets buried: As you go south you are happy to get back to the forest. A sign hangs on a tree saying 'Come Back Soon' but you doubt you will. You are in tall pine trees in a light forest.

#TRIGGER {^As you go south you are happy to get back to the forest. A sign hangs on a tree saying 'Come Back Soon' but you doubt you will.} {#NOMAP} did not work, so I broke the lines up into two separate triggers but that didn't work either:

#TRIGGER {^As you go south you are happy to get back to the forest.} {#NOMAP}
#TRIGGER {^A sign hangs on a tree saying 'Come Back Soon' but you doubt you will.} {#NOMAP}

Any ideas?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Sat May 03, 2008 2:09 am   
 
Try:

#TR {As you go south you are happy to get back to the forest. A sign hangs on a tree saying 'Come Back Soon' but you doubt you will. } {#SUB{}}
_________________
Discord: Shalimarwildcat
Reply with quote
azbird
Beginner


Joined: 16 Apr 2008
Posts: 21

PostPosted: Tue May 06, 2008 3:54 pm   
 
Thanks for the suggestion. I appreciated your reply but the trigger didn't work (syntax error on #SUB). I didn't noodle around with it to figure out why, but what ended up working was creating links in both directions. Once they were in place I was even able to delete #NOMAP triggers.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue May 06, 2008 5:46 pm   
 
The reason for the syntax error is because shalimar forgot to place a space between the #SUB and the {}}. It should actually be {#SUB {}}.

Charneus
Reply with quote
azbird
Beginner


Joined: 16 Apr 2008
Posts: 21

PostPosted: Tue May 13, 2008 3:36 pm   
 
Thanks very much! Worked like a charm!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net