Quote:
Originally Posted by Tigairius
"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;
}
|
You don't need //#CLIENTSIDE offline since it is all clientside.
I don't understand exactly what you're saying, he was trying to make it work in his level editor? Or did I misunderstand the question?