View Single Post
  #2  
Old 06-20-2004, 01:52 PM
dlang dlang is offline
Yoshi!
dlang's Avatar
Join Date: Oct 2002
Location: Houston, Texas
Posts: 406
dlang is on a distinguished road
Send a message via AIM to dlang Send a message via MSN to dlang
A few things:
#1. Don't use playersays, instead use:
NPC Code:
if (playerchats && strequals(#c,moo))



#2. If you want it to block, use:
NPC Code:
if (created || playerenters) {
setimg door.png;
setshape 1,32,32;
}


Normaly, if you don't use setshape, it will be the shape of the image.
If you're making it to a shape of tiles, you can use setshape 1,2*16,2*16;
Where the 2's are the width and height in tiles. It is easier that way, if you're making it large that is.

#3. If you don't want it to block, use:
NPC Code:
if (created || playerenters) {
setimg door.png;
dontblock;
}



Did that help at all?
__________________
Where do I take this pain of mine?
I run but it stays right by my side.
So tear me open, pour me out,
there's things inside that scream and shout.
And the pain still hates me, so hold me until it sleeps.

---------------