|
Morfaroth Beginner
Joined: 07 Dec 2002 Posts: 11
|
Posted: Sat Dec 07, 2002 5:55 pm
Complicated question |
I want to set up a system that searches every room on a map, checks if there is an npc there, if so attacks, if not, moves on to the next room, Any idea how I would start such a thing?
|
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Sat Dec 07, 2002 6:59 pm |
Any idea how we're supposed to know which Mud you play, and what the text looks like you want tp capture, which version you are using, and if you have configured the Mapper?
Sorry, we're not Seer.
As for the theory.. You can loop through all the rooms in the mapper using something like:
#LOOP %numrooms
{ #EXEC %walk %i}
So now you have to find out if there are NPCs there...
Lady C. |
|
|
|
Morfaroth Beginner
Joined: 07 Dec 2002 Posts: 11
|
Posted: Sat Dec 07, 2002 7:07 pm |
That could already solve what I'm trying to do, Heh, Sorry for the lack of information before
|
|
|
|
|
|
|
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
|
|