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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
hwired
Newbie


Joined: 08 Nov 2006
Posts: 5

PostPosted: Mon May 18, 2009 2:43 pm   

Issues with #SLOW
 
Hey guys,

I'm trying to setup a patrol route using #SLOW but I'm having endless troubles.

This is the path I'm using #SLOW wnwwsswnwnwnennsseseeese

#I can get this working just by using this by default. I also have a trigger that check's if my target is in the room and if not it will use the #STEP command.

#WAIT 500
#IF (@target = 0 ) {#STEP} {#T- start;#T+ fight;Kill @target}

Now my first problem is if I do encounter my target and engage it then the current position in my map is one room behind and I can't seem to fix this after the fight has finished. I managed to get around this by using the #MO command every time I move rooms but this has totally screwed the #SLOW command (doesn't follow directions, every time #STEP is inputted it goes west?). I don't know if I'm missing something and unfortunately I definitely need to have the current position correct because if I flee from my target then I need to automatically go back to my safe location.

The second issue I have which is sort of unrelated is with the #VA command...I have a variable named target which is set to 0 and then set to 1. when a target is found. I want to set it to 0 after I kill a mob so I can use the IF command again to check for other mobs or use #STEP command. Unfortunately using #VA target 0 in a trigger doesn't seem to work. Even though I can type this through the command input and it works fine.....Any idea's?

Thanks guys. Any help is appreciated
Reply with quote
Aidan88
Beginner


Joined: 18 May 2009
Posts: 11

PostPosted: Mon May 18, 2009 11:01 pm   
 
For the trigger try: target=0
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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