Sleep Command

So any ideas on why the sleep command will not work?

if (created){
  setimg door.png;
  setshape 1,32,32;
}
//#CLIENTSIDE
if (playertouchsme && strequals(#a,Orex)) {
  hide;
  sleep 1;
  show;
}

Sleep should work.
if(created){} won’t. (GServer bug)
//#CLIENTSIDE won’t work, no NPC Server, its all global/client.

Other than that, gotta touch it with the account “Orex”? o_o

It disappears just fine, just doesn’t come back.

sux4u

make it a timeout instead? like every couple seconds if the door isnt showing it will show it…or run the show command regardless…

I dont know how to do that though.

Doesnt the npc just hide locally tho?

Meh there must be an easier way Dontar. His script looks alright, its probably another bug

That works offline, just like the other script and from what I can see online as well.

if (created){
  setimg door.png;
  setshape 1,32,32;
}
if (playertouchsme) {
  hide;
  timeout = 1;

}
if (timeout) {
  timeout = 0.5;
  show;
}

Office = Offline?

Try ditching the if(created). Replace with if(playerenters)

Yes, and I’ll give that a shot here in a little bit. Sorry, kind of sick and not getting much sleep.

Sneaky operator~! Mr. Nalin, Sir.