Quote:
Originally Posted by Draenin
PHP Code:
//#CLIENTSIDE
//This part will make the NPC automatically block for the character. You'll want this to be clientside, unless you're wanting the door to be opened for every person at once.
function onCreated(){
blockagain;
show;
}
//This will check to see if the player has killed all of the NPCs. However, I'd urge you to try something harder, like a key requirement or something similar.
function onCompusdead(){
dontblock;
hide;
}
|
i tryed this and i killed the grey soldier and the door just stayed there.... and i couldn't walk through it x.x
