View Single Post
  #3  
Old 02-07-2006, 11:59 AM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
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.
__________________
V$:CONFL16T
Reply With Quote