include library.locations; include library.regions; include library.utils; trigger OnAttach() { location here = getLocation (self); string planet = here.area; region rgnTest = getSmallestVisibleRegionAtPoint(here); if (rgnTest == null) { debugServerConsoleMsg(self, "DAN FAILED"); debugServerConsoleMsg(self, "location is "+here); region[] rgnFoos= getRegionsAtPoint(here); if(rgnFoos==null || rgnFoos.length == 0) { debugServerConsoleMsg(self, "fucked"); } for(int intI = 0; intI