 |
dazed-n-confused999 Wanderer
Joined: 03 Aug 2004 Posts: 79
|
Posted: Tue Jul 26, 2011 1:06 am
uggg water paths |
There are times when I need to swim from one location to the next.
I'm thinking I'll stick the water areas in their own zone, and then modify the preferences in that zone
to swim instead of open door. Is this possible? I don't really need help mapping the water areas
just want the thing to be able to move with paths in water.
If I do this can I restrict swimming to only happen in the water zone, and treat doors normally everywhere else?
Is there a better way?
Please help. |
|
|
 |
dazed-n-confused999 Wanderer
Joined: 03 Aug 2004 Posts: 79
|
Posted: Tue Jul 26, 2011 2:14 am |
ok I think I sort of figured it out.
I'm just manually entering swim (dir) in the name box within properties.
Seems to be working ok, its just going to take awhile to get all this in long hand. |
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Aug 01, 2011 5:14 pm |
Alternatively, you could create some new exit types, one for each possible swimming direction. But, again, you would have to manually change the exit type for each of those exits to the swim type.
You could indeed put all the swimming rooms into a water zone, and have certain triggers which are active only in that zone. You could then make aliases or oninput triggers to convert movement into swim commands. |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4772 Location: Pensacola, FL, USA
|
Posted: Mon Aug 01, 2011 6:11 pm |
Something like this might work for you:
Code: |
<trigger type="Command Input" priority="600" trigontrig="false" id="180">
<pattern>^(%w)$</pattern>
<value>#IF (%reversedir( %1)) {
lastDir=%reversedir( %1, 1)
#IF (%zonename="Such and such") {swim %reversedir(@lastDir, 1)}
}</value>
</trigger> |
|
|
_________________ Discord: Shalimarwildcat |
|
|
 |
|
|