ID:133897
![]() Oct 8 2007, 11:00 am
|
|
Well I was wondering if it could be possible to edit a certain variable for multiple objects on the map. I have buildings that are formed from a .PNG and all all the parts are the same obj with different icon_states and I want to edit multiple rows of tiles and edit a certain variable for all of them but currently, you can only edit it one by one(if there is a way, please let me know). I know the mass delete is already available but I want to delete only certain types such as only turfs or a certain turf, etc.
|
![]() Oct 8 2007, 11:12 am
|
|
I was just about to come post about this. I've been wanting this feature for quite a while.
|
Forget the mass delete, you can do that easily by finding the object using Advanced Find/Replace. I still want to know how to mass edit.
|
I don't know how feasible it is for BYOND to allow this, but in the meantime you can open up your DMM in a text editor and insert the custom variable inside the instance braces of the appropriate type.
For instance, if you have the following PNG: GHI DEF ABC ...then odds are you'll have something in your DMM's symbol table resembling: a = /turf/mypng{icon_state="0,0"} b = /turf/mypng{icon_state="1,0"} c = /turf/mypng{icon_state="2,0"} d = ... And you can just add your custom variables using your text editor: a = /turf/mypng{icon_state="0,0", myvar=4} b = /turf/mypng{icon_state="1,0", myvar=4} c = /turf/mypng{icon_state="2,0", myvar=4} d = ... |