Problem with Setshape2

Check it oooouuuuuuuuutttttttttttttttttttt:

if(created||playerenters){ setimg chair.png; setshape2 32,32,3; dontblock; drawunderplayer; } :shrug:

setshape2 width,height,{tiletypes…}; sets the shape of the npc to a rectangle of tiles

setshape2 and setshape both have you define EACH tile in the shape.

So, it would be {3,3,3,3} if the chair is 2x2, which I think it is…

So it would be thinking, the chair is 2 by 2, so…

XX
XX

33
33

Is how it sees the chair.

Thanks!

Yeah, you define size (which I think is in…tiles, not pixels…but I haven’t had much experience except for making 1 chair), and then define the type for each tile xD

It’s really good for making stuff like lilypad chairs or furniture for playerhouses.

it dun work

coughCOMMANDS.RTF , sheesh read that shit then post. Also alex is right, make sure you look at the tile types as well.

You probz wont so there it is.
Examples of using this to make a 2x2 tile seat would be:
setshape2 2,2,{3,3,3,3};

You will see people often break this command over a few lines to increase readability so dont get confused if you do see that.