For some reason my Click() to print out a usr << "Test" code does not work. Is there something that prevents areas from being clicked upon???
LJR
ID:149912
![]() Jan 29 2002, 4:14 am
|
|
2. You can make it so that clicking turfs (or other atoms) checks to see which area it is in and calls the area.Click() proc. This one sounds interesting, but I have not idea where to begin to code something like this and how to call to check the area. LJR |
I believe Deadron's geography library contains a proc to find the area an atom is located within.
Edit... Well, Deadron's Geography Library seems to have gone away. Basically, it would be something like... atom/proc flick() Edit, again... I found the library here. I guess Deadron kicked his own library out of the channel :) |
You have two options:
1. You can download the BYOND beta version and use the mouse_opacity var to make it so you can click areas, but not the turfs over them. this would mean all your players need to download the beta too. :/
2. You can make it so that clicking turfs (or other atoms) checks to see which area it is in and calls the area.Click() proc.