Thread: Reset Tiledefs
View Single Post
  #5  
Old 07-29-2010, 06:40 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by DustyPorViva View Post
The parameter is for a prefix, thus you can use removetiledefs("overworld_"), or whatever, to remove certain tiledefs.
From what I assumed was that it removed the tiledef with "strprefix" in the same kind of fashion as it added so I figured I'd have to manually remove each entry.

It'd be nice if /scripthelp had more descriptions on these kinds of things.

I.e: removetiledefs(strlevelprefix) - Removes all tiledefs with strlevelprefix.
__________________
Quote:
Reply With Quote