area
treearea
Entered(atom/movable/A)
if(ismob(A))
var/mob/M = A
var/list/whowhowhatwhat = list("tree1","tree2")
var/a = pick(whowhowhatwhat)
M.camoarea = a
This is my first time using areas so please forgive all obvious mistakes.
That area code sets M's camoarea correctly only sometimes but not every time. Am I doing something wrong?
All turf objects which are located in the same instance of an area are just that... all within the same location. So, if on your map you plaster the right side with /area/right and the left with /area/left you will not call /area/Entered until you actually cross over from right to left or left to right. You can run around all you want within the same area to no affect where areas are concerned.
If that is not what you meant, please explain further.