Page 1 of 1

how to wipe signs?

Posted: Sat Mar 22, 2014 10:00 pm
by chunkygravy
I was wondering if there is a way to wipe all the signs.
i thought i found it in pkg\items\signs\config\init.cfg
wiped that file, but the signs are still there.
re-ecompiled my source
still there

do i need to del and re-realm gen my map to?

are the sign stuffed in another file as well?

Re: how to wipe signs?

Posted: Sun Mar 23, 2014 8:01 am
by Tomi
1 way is to loop through all the items you have in the world and check for signs and delete them.

something like:

Code: Select all

foreach realm in Realms()
	foreach item in ListObjectsInBox( 0, 0, -127, realm.width, realm.height, 128, _realm_iter )
               // Check here if it is a sign and delete it
   endforeach
endforeach