![]() |
Chair
A chair that you can pull and sit in it how would you do this?
|
is it like the basic chair
|
Hmmm you need to use setshape2,
make some part of the npc blocking (so that you can push/pull it) and some other part sitting tile |
Yup, that's right.
|
i tried to do this on Babylon but i gave up =..(
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Hmmm
I think Stefan is now saying hmmm just to see who will notice that he is saying hmmm. Hmmm.
|
Make a chair PNG with a back to it. Now, do this in the code:
NPC Code: 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. |
Thank you! That will look good in my server! (by the way i really dont mean to "steal" script, its just that i script like crap =/ )
|
That script is acutally really easy... And Jeice don't make are server look bad you *****!
|
Actually...After a little bit of thought, you could do that on a free server too, Im just not sure of how laggy it would get
|
The blocking tiles 22 and 20 dont work of is it someonething with the script:
// Mage by *Poogle dontblock; drawunderplayer; canbepulled; canbepushed; setshape2 2,2,{3,3,22,22}; |
Quote:
|
| All times are GMT +2. The time now is 03:05 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.