Thread: Chair
View Single Post
  #11  
Old 10-09-2001, 09:00 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Make a chair PNG with a back to it. Now, do this in the code:
NPC Code:

if (created) {
setshape2 2,3,{
22,22,22,
3, 3, 3,
3, 3, 3}
canbepushed;
canbepulled;
canbecarried;
drawunderplayer;
}



Now, make a chair png that is 32 pixels by 48 pixels. Make it like this:

= =
D D
D D

Where the equal signs are the back of the chair, and the D's are the sitting part. Each = and each D are 16 by 16 pixels. Now, you can push, pull, and carry the chair from the backside of it, and sit on it on the front side of it.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote