View Single Post
  #6  
Old 04-24-2008, 10:31 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by alexandralove View Post
Ok but do I clear the tiledefs then i put back my tiles (the type1)

And anyway, I still can't find how to get the type1
I made one ok, I uploaded it on RC
But even in 1 level it wont show
and the old tileset is still here !

This is what I did:

// NPC made by Soala
if (created) {

removetiledefs;
addtiledef silence_tiles_type1.png;
}

can you tell me what's wrong ?
"addtiledef" has two more parameters. You need to do addtiledef tileset.png, begining of your level's name, tileset type;
Not to mention it's not clientsided, you have to put //#CLIENTSIDE above clientside scripts. For online scripts it's recommended you use gscript2, but for a working example.. do this:
PHP Code:
//#CLIENTSIDE
if (created) {
  
removetiledefs;
  
addtiledef silents_tiles_type1.png#L, 1;

__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote