Wont enter the Ocean in Developer Help
icon = 'turf.dmi'
density = 1
usr.icon = 'objects.dmi'
area Test1 name = "Testing Area" Enter(O) O << "You triggered the enter proc!" return 1
area Test1 name = "Testing Area" Enter() usr << "You triggered the enter proc!" return 1
Of course, you can't have two dense objects in the same location, so I'm not too sure if you'll be do anything if the turf you have the proc on is dense.
Use the Entered() proc
I beleive it is rather of rude for you to shout at me for that. I typed it up as an example, geeze.
Anyway, in my case I at least know what usr is.
I am wondering y every1 is so busy correcting eachother's mistakes in these posts. Y hasn't any1 just plain answered the question with the code for it?
I think i got everything...O well i know some1 will correct me if im wrong...
turf/Ocean ... Enter(M)//i dunno how u want to figger if some1 can enter if(M:hasboat) //however u figger it return ..() else return 0
Enter(atom/movable/A) if(ismob(A)) var/mob/M=A if(M.hasboat) return ..() else return 0 return ..()
Entered(mob/M) M.icon = 'objects.dmi' M.icon_state ="rowboat"Exited(mob/M) //don't forget to bring em back to normal M.icon = 'people.dmi' M.icon_state = "player"