Quote:
Originally posted by FxChiP
?
Dude, that's easy to do, you don't even really need two NPCs to do it.
NPC Code:
if (playertouchsme && !chestopen) {
setgif chestopen.gif;
showimg 0,key.gif,x+.5,y+.5;
set chestopen;
}
if (playerenters && chestopen) {
setgif chestopen.gif;
}
|
The problem is that the setgif and setimg commands are not done locally, hidelocal however is, that's primarily why Tyhm is posting it.