View Single Post
  #10  
Old 06-29-2001, 03:45 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
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.
__________________

Reply With Quote