Usage

Syntax: removetiledefs([str levelprefix]);
Returns nothing.

Explanation

removetiledefs is used to revert the tileset back to the default on levels which begin with levelprefix. This can be extremely useful for servers who use various tilesets (e.g., for 'inside' levels and 'outside' levels). removetiledefs is also recognized by GraalEditor for removing previously-used tilesets. This is often the cause for compiler errors.

Example

//#CLIENTSIDE
function onCreated() {
  removetiledefs();
}

... reverts all tilesets to pics1.png.

Categories

CategoryFunctionClientside

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki