In DreamMaker, the "Generate Instances from Directions" feature is quite handy, saves the tedious task of editing dir manually on instances when you want stuff facing different directions.
Only one problem:
The instances it creates not only have dir overridden, but also tag! Having tag set is something people usually do not want. (It makes the objects un-GCable, and it is returned by \ref)
It unfortunately makes the feature useless to me, as now I have to go in and clear the tag, or try to do it post-hoc by editing the dmm.
If you'd rather not change the default behavior for backwards compatibility, a preference option to turn it off is perfectly good!
P.S. Same story for "Generate Instances from Icon-States"
This would probably also help http://www.byond.com/forum/?post=2089976 because my bet is any tag mapped in by SS13 map makers was most likely done by accident when using this feature.
ID:2257522
Jun 13 2017, 3:01 pm
|
|||||||
| |||||||
ADDENDUM
"Generate From Directions" also sets icon_state in the generated instances. While not as egregious as tag, I think this would also unwanted many (most?) times.
Ter13: Thank you, I am glad to see your support |
I think I'm going to try simply not setting the tag and not doing anything with the generated name. Maybe that should be an internal var for the editor only; I dunno. Anyway it's worth trying tagless for a bit in 512.
Of course existing maps will need changing manually. |
A PSA should probably go out when this feature is dropped and stable. Something like:
Historically, BYOND's map editor had a feature that allowed you to generate instances from icon states and directions. This was intended to speed development and shelter artists from having to muck about with code to implement new visual assets into a game. Unfortunately, this feature has received a lot of criticism as it sets the tag of all instances generated using these two features. Objects with a set tag will never be garbage collected, and tags are intended to be unique. Due to these complications, the features have either fallen into disuse, or problems have slipped unknowingly into a number of games through the years. Moving forward, these options will no longer set the tag manually, and developers should consider ensuring that their maps are free of accidental tag setting due to use of generated instances over the years. |
Tom wrote:
Mar 31, 2015.
Plz Lummy. Plz.
I'm outright putting a $100 bounty on this feature. The minute the bug report is resolved, I will donate $100 even if it's not released yet.