ID:2156426
 
(See the best response by Ter13.)
Code:
turf
Entered(mob/M)
if(M.key == "ISSACK")
return ..()


Problem description:

I used that code, It worked perfectly no errors but the Problem is when I try putting it On the Map It does this: https://gyazo.com/948d549bec59b1aeb60c49600bd17208
Have you tried to clean compile, then close dream maker, then reopen dream maker? I had this problem once before and that's how I solved it. It may or may not work. Give it a go.
In response to Genesismagician
Okay.
In response to Genesismagician
Just tried it, Didnt work.
While in your map editor, click OPTIONS, then click on "CLICK BEHAVIOR". You will have two choices;

Click to replace instance Ctrl+Click to insert
Click to insert instant Ctrl+Click to replace

Which one do you have selected?
In response to Genesismagician
Replace
Just for the sake of troubleshooting, try the other one.
In response to Genesismagician
I did, I compiled and no difference
I see the problem... Not sure how the hell I missed it...

turf
Entered(mob/M)
if(M.key == "ISSACK")
return ..()

Do it like this...

turf/EnteredZone
Entered(mob/M)
if(M.key == "ISSACK")
return ..()


The way you're doing is, you're assigning turf in general to check for your key.
In response to Genesismagician
BRO THANKS MAN
Not a problem. Sorry that took so long, I only glanced at it the first time around. lol
In response to Genesismagician
Ah shits, This is a bit confusing and weird to ask How to tell it where Im going like

usr.loc = locate(4,25,2)
You need to be more specific. I'm not sure what you're asking.
In response to Genesismagician
I used this code so it knows where to send me


 turf/EnteredZone
Entered(mob/M)
if(M.key == "ISSACK")
return ..()
usr.loc = locate(71,34,2)
Put usr.loc above the return.
In response to Genesismagician
But it didnt work
turf/EnteredZone
Entered(mob/M)
if(M.key == "ISSACK")
usr.loc(71,34,2)
else
return ..()
In response to Genesismagician
Thats it ??? I dont remove anything else ???
You shouldn't need to...
In response to Genesismagician
Okay, Thanks Man.
Page: 1 2