Quote:
|
Originally Posted by sivako
//#CLIENTSIDE
addtiledef2 mwnts.png,mwn_,0,0;
is what i have ive tryed it with and without
//#CLIENTSIDE
i realy dunno what is wrong... can some please help?
|
The image needs to be in the same directory as the level. Check if it is
If it's in the same directory and it doesn't work try these.
NPC Code:
//#CLIENTSIDE
if(created){
addtiledef2 mwnts.png,mwn_,0,0;
}
Lets look at the syntax of the command
Quote:
|
addtiledef2 image,level,x,y;
|
You've understood the image and level so we don't need to go in to that.
The x + y; Each tile is 16 pixels, therefore the number you put in here has to be a multiple of 16 for it too work correctly.
For more information Mykel created a tutorial on how to use addtiledef2.
Click here for the link.