However, what if you wish to have turf change states instead of simply being black. If I want both a 'Dark' and 'Light' version of a TURF to change with that field of view?
I have created something that does this. However its not perfect, and I am thinking there must be a better way...
The main issues are, that if two mobs walk towards each other it clashs and the turf will be set to dark/light.
The field of view is not constant.
I want it to behave like the luminosity. You would walk towards a player and their aura would merge with yours. I guess I *could* set some sort of mob reference in the turf so only the original mob can set it back to darkness, which in theory should stop that problem.
However, is there a better way I am overlooking? I have not really had the need for such functions before, and not I am playing around a little and would like to know what other ways there might be to do this - especially if those ways are better and more functional :)