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
darkar
Newbie


Joined: 21 Jun 2010
Posts: 7

PostPosted: Mon Jul 26, 2010 6:55 pm   

scan list population help
 
Basically the goal is to fill a list with every mob on scan with the direction and distance they are from the current location, and pass it to a string list ultimatly.

Ive been trying to use #condition {golden guard} {param=5} for example because thats the max each set could show on scan, but it overlaps and in addition if i match the golden guard and theres 1 west and 3 2west it trys to trigger on all of them.

"scan" The Output----->


Right here you see:
- the drunk (*)
- Talon
1 north from here you see:
- the golden guard (*)
2 north from here you see:
- a sheep (*)
- an old man (*)
- the Enforcer (*)
3 north from here you see:
- Ellen (*)
1 east from here you see:
- the golden guard (*)
3 east from here you see:
- the janitor (*)
- the vagabond (*)
- the golden guard (*)
- the golden guard (*)
4 east from here you see:
- the vagabond (*)
- the drunk (*)
1 south from here you see:
- the golden guard (*)
2 south from here you see:
- the golden guard (*)
- the vagabond (*)
1 west from here you see:
- the golden guard (*)
- the vagabond (*)
2 west from here you see:
- the golden guard (*)
- the Midgaard Town Crier (*)
- the beastly fido (*)
- the golden guard (*)
3 west from here you see:
- the golden guard (*)
Reply with quote
darkar
Newbie


Joined: 21 Jun 2010
Posts: 7

PostPosted: Mon Jul 26, 2010 8:11 pm   
 
Ive got a very unclean working version of moving based on scan. simply matches first thing it sees . but id like to match only something from a stringlist and move that direction. just at a loss for how to do that
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