|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Thu May 02, 2002 12:10 am
Portals |
I have only found one way to get zmud mapper to follow me through portals (besides always typing the whole exit name) and that is to get a trigger to go off when it displays me entering the portal, and most of the time this works. but in certain cases when the enter message is the exact same both ways it sends me into a loop going from one location to the other... and ideas?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu May 02, 2002 4:42 am |
quote:
I have only found one way to get zmud mapper to follow me through portals (besides always typing the whole exit name) and that is to get a trigger to go off when it displays me entering the portal, and most of the time this works. but in certain cases when the enter message is the exact same both ways it sends me into a loop going from one location to the other... and ideas?
Do you have Trigger on Trigger turned on? That's probably why you get the loop. This SHOULD demolish the loop itself, but if not you'll have to do something a little more elaborate.
li'l shmoe of Dragon's Gate MUD |
|
|
|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Thu May 02, 2002 6:29 am |
I'm sure that would help, but i don't know how to turn off Trigger on Trigger for triggers that are part of a room script. i tried opening the folder _MapperRoom that gets created while you are in that room and doing it from there but it never saves it.
|
|
|
|
Sildaren Wanderer
Joined: 19 Jul 2001 Posts: 59 Location: Germany
|
Posted: Thu May 02, 2002 8:13 am |
Have you tried trigger options:
eg.
#TRIGGER {pattern here$} {command here} "testclass" {notrig}
creates a trigger with 'Trigger on Trigger' turned off
(At least it does in the v6.26a. I'm not sure if the current public version still uses the numeric parameter for trigger options) |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu May 02, 2002 11:41 am |
Yeah, it does so too in the public version.
Kjata |
|
|
|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Fri May 03, 2002 6:14 am |
Thanks very much, that works nicely!
|
|
|
|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Mon May 06, 2002 12:17 am |
I didn't really notice this right away but it seems that that only works for one way. it makes a class with a trigger "You enter a ring of magical mushrooms." but whenever i try and go back it sends me there but automatically sends me back... any ideas?
|
|
|
|
Sildaren Wanderer
Joined: 19 Jul 2001 Posts: 59 Location: Germany
|
Posted: Mon May 06, 2002 5:12 pm |
First make sure you have the {notrig} option in the roomscripts on both sides of the portal,
second use _MapperRoom as class, so the mapper recognizes the trigger as a roomscript when leaving the room, and removes it.
If that doesn't help post the complete triggers for both sides of the portal here, as well as the mud output it triggers on.
That way we get a better feeling for what happens with your scripting. |
|
|
|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Thu May 09, 2002 4:37 am |
That sounds like a good idea sildaren but when i change the class from "testclass" to "_MapperRoom" it sends me into a loops again. is that not were i'm supposed to put which class i want it to be in?
|
|
|
|
Sildaren Wanderer
Joined: 19 Jul 2001 Posts: 59 Location: Germany
|
Posted: Fri May 10, 2002 8:24 am |
Sounds like the 'trigger on trigger' option isn't really doing what you need.
If you post the triggers you are using (for both ends of portal), as well as a sample of the portaling text, we can probably find a better solution. |
|
|
|
Gilwyn Newbie
Joined: 01 May 2002 Posts: 7 Location: Australia
|
Posted: Fri May 10, 2002 10:50 am |
What do you type to enter the portal?
If it's something like "enter portal" then you can simply make the direction from the room "other" called "enter portal". If you usually type something shorter like "ent port" then rename it to that. |
|
|
|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: Sat May 11, 2002 8:22 pm |
This is a copy/paste of what i see when i go through the portal:
A Circle of Brilliant Mushrooms
Obvious exits: North East South West
A ring of magick mushrooms has grown here.
< 381/381hp 115m 130mv > ent ring
You enter a ring of magick mushrooms.
A Circle of Brilliant Mushrooms
Obvious exits: North East South West
A ring of magick mushrooms has grown here.
A tall, slender fae in arcane robes paces about here.
It's exactly the same the other way. and here are the triggers:
#TRIGGER {You enter a ring of magick mushrooms.} {#TELEPORT {182} {Silver Tear}} "_MapperRoom" {notrig}
the other sides trigger is exactly the same but different teleport location, and were it says "_MapperRoom" now is were i had "testclass" before and it used to work. i even tried other classes but only testclass seemed to work for some reason.
Any help would be appreciated. |
|
|
|
dacheeba Adept
Joined: 29 Oct 2001 Posts: 250
|
Posted: Sun May 12, 2002 7:04 pm |
Best way I can think of would to be create a button for each room indiviually.
Goto your map editor and click on the room properties for one of the rooms.Then go to the Room Scripts section in the Room Desc part(you may have to pull it up, it was kinda hidden for me)And put the script in there.
So for the first room(lets say the number is 182, and the second one is 183):
#BU 0 {Enter Ring} {enter ring:#TELE {183} {Silver Tear}}
And the other room would be:
#BU 0 {Enter Ring} {enter ring:#TELE {182} {Silver Tear}}
Hope that helps. |
|
|
|
|
|