Thread: ughhh help
View Single Post
  #3  
Old 02-22-2006, 03:16 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by jake13jake
don't know if this would work. Might need to do triggeraction instead. I know triggeraction triggers both serverside and clientside in v4.

npcs[i].trigger("DoorOpen",player.account);

//#CLIENTSIDE

function onDoorOpen(acct) {
if (player.account == acct)
hide();
sleep(time);
show();
}
}
You can't trigger from serverside to clientside in a Local NPC, AFAIK.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")