Hi
Any idea how i can implement this?
I want my map only display explored rooms, something like aardwolf
In LPC i can do it easily with "mappings", you can do things like:
mapping explored;
explored = ([]);
explored[21000] = 1;
explored[21001] = 1;
explored[21002] = 1;
and can search values as simple as:
a = 21000;
if( list[a] )
return "room explored."
Anything like that??
Or any idea to do this??
I don't know if using an array to store the vnums and check the entire list with every room everytime i show the map can make the mud slower
Any idea how i can implement this?
I want my map only display explored rooms, something like aardwolf
In LPC i can do it easily with "mappings", you can do things like:
mapping explored;
explored = ([]);
explored[21000] = 1;
explored[21001] = 1;
explored[21002] = 1;
and can search values as simple as:
a = 21000;
if( list[a] )
return "room explored."
Anything like that??
Or any idea to do this??
I don't know if using an array to store the vnums and check the entire list with every room everytime i show the map can make the mud slower