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
saryon
Beginner


Joined: 27 Nov 2003
Posts: 13
Location: USA

PostPosted: Tue Mar 02, 2004 6:14 pm   

An involved Script
 
Hey guys,

You have helped me so much in the past, I figured what better place to get some ideas.

What I have is a script that searches for tokens (items in our game). Dwarves have a natural affinity for finding them since they are shiny. I am trying to create a script that will search for them buy "random teleportation" which is already taken care of, and "scan"ing.

The way ours is, is that with farsight it shows, "Nearby North" "nearby West" etc. It only shows the heading if there is something that way.

What I am wondering is, so I dont have to basically make the same function for each and every one, is there a way to sort of define the function.

EX. do a scan, and it shows "Nearby to the east" and has what we are looking for, it goes there, comes back, and re-scans, OR keeps it in memory from the first scan.

As you can see, with being able to see 3 rooms away, there is the possibility for 12 functions, and it would be so much more simple if there is a way to "prototype" this. Any help in the right direction would be greatly appreciated.

Matt
Reply with quote
user0101
Apprentice


Joined: 01 Aug 2003
Posts: 100
Location: USA

PostPosted: Wed Mar 03, 2004 3:08 am   
 
Post your script, and post logs of what patterns you want manipulated.
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