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
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Sat Jun 28, 2003 3:11 am   

Speedwalking and sneaking
 
In DR when you sneak there is a 10sec roundtime you must wait before you move again. I got it that when I turn sneak on (a class I made) the normal directions all turn to sneak direction. Works great. But if I speed walk it sneaks me in the right direction but during the 10 sec round time the map doesn't update and then the speedwalking stops. Any ideas on how to fix this?
Reply with quote
Jesman
Beginner


Joined: 10 May 2002
Posts: 23
Location: USA

PostPosted: Sat Jun 28, 2003 4:50 am   
 
#TR {^Webbed for (%d) seconds!$} {#PAUSE;#ALARM {+%1} {#STEP}}


Vijilante wrote this trigger to help my trader whenever he got webbed on his way to Leth. Replace "Webbed for (%d) seconds!" with "Roundtime: (%d) sec.". So the trigger should be.

#TR {^Roundtime: (%d) sec.$} {#PAUSE;#ALARM {+%1} {STEP}}

Jesman

P.S. If this Trigger doesn't work don't blame Vijilante I'm the one that butcher it Smile. The trigger works fine for what it was originally written for. I mentioned Vijilante because I didn't want anyone to think I was trying to steal his work.
Reply with quote
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Sat Jun 28, 2003 5:39 am   
 
I tried that and couldn't get it to work. I tried changing parts of it and nothing.
Reply with quote
Jesman
Beginner


Joined: 10 May 2002
Posts: 23
Location: USA

PostPosted: Sat Jun 28, 2003 5:49 am   
 
hmmmmm... ok well you can try this (thou I don't know if its the most efficient method) create this trigger

#TR {Obivious paths} {#PAUSE;#ALARM 10 {#STEP}}

This will pause the slow walk until you give it a #STEP command 10 seconds later. Well at least I think thats what it will do......

Jesman

P.S. The "Obvious paths" trigger is if you are sneaking around with that as your exits, if not change that to whatever you are using.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Jun 28, 2003 5:12 pm   
 
In order to use the #PAUSE and #STEP to control the speed walk you have to be using slow mode. If the that is not your preferred speed walk mode then you can add something to the script you use to turn sneaking off and on, and that should make triggers Jesman mentioned useable. I would also add some checks to the trigger so it doesn't fire on other round time events that might occur while walking...such as %inwalk.

---snip---
PrevWalk=%walkmode
#NOOP %walkmode(slow)
---clip---
#NOOP %walkmode(@PrevWalk)
---end snip---
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