I have a big-assed map and have used >120 sector tags for various action specials.
When I use the assign fresh tag button, it will always assign the next highest number, even if a smaller tag number is now available for use, so clearly a flag is set somewhere for the highest tag number currently assigned.
As I have progressed, I have changed my mind about certain things and no longer action some of the previously assigned sector tag numbers. I'd like to re-use these, if possible without manually going back and checking all my flagged sectors and linedefs. In other words, I want to re-use one that has been assigned to a given action in the past, but is now available for use for a different action (because I removed the script or linedef action).
I am using Eureka on Ubuntu, so it *might* be specific to that editor..
In any event, is there a way (scripted or otherwise) to find the following:
- which sector tag numbers have been assigned
- which of the assigned sector tag numbers are actually used
Now, as a programmer in my real life job, I do understand that this is not necessarily a trivial task, particularly I suspect for determining which sector tags are used by scripts. I am however (now) using sector tags only in conjunction with linedef action specials (i.e. does (g)zdoom have an internal stack/array of assigned and used sector tag/action objects that is exposed) if that helps...
I have a big-assed map and have used >120 sector tags for various action specials.
When I use the assign fresh tag button, it will always assign the next highest number, even if a smaller tag number is now available for use, so clearly a flag is set somewhere for the highest tag number currently assigned.
As I have progressed, I have changed my mind about certain things and no longer action some of the previously assigned sector tag numbers. I'd like to re-use these, if possible without manually going back and checking all my flagged sectors and linedefs. In other words, I want to re-use one that has been assigned to a given action in the past, but is now available for use for a different action (because I removed the script or linedef action).
I am using Eureka on Ubuntu, so it *might* be specific to that editor..
In any event, is there a way (scripted or otherwise) to find the following:
- which sector tag numbers have been assigned
- which of the assigned sector tag numbers are actually used
Now, as a programmer in my real life job, I do understand that this is not necessarily a trivial task, particularly I suspect for determining which sector tags are used by scripts. I am however (now) using sector tags only in conjunction with linedef action specials (i.e. does (g)zdoom have an internal stack/array of assigned and used sector tag/action objects that is exposed) if that helps...
Share this post
Link to post