I have compiled a script to tag doors by the room that they swing into. It uses the swing from room if the swing to is a corridor or a fake “EX” room. This works fine for what it is. However, if ANY single door opens to or from an unlabeled space (such as an unenclosed space, or unmarked room) it destroys the entire script. this is because there are more doors than list items.
My question is this: Is there a way to fill all unmarked spaces with a “dummy room” for the purposes of the script?
Even if all the information for said room were “null” they’d then have a place holder in my sorting lists.
Can you show screenshots of your graph?
If it’s just your list structure that’s off you might be able to get by with an If statement or something that can return a null or “none” value as a placeholder.
I deleted the door on the far right of the corridor. This issue is there should be 11 elements in all three lists. Since there are some doors that touch un-roomed spaces there are elements missing.
That would likely still return a null value for rooms to the exterior. We need to see the rest of the graph to know where the Element.SetParamterValueByName is happening. @avargo can you do a camera export of the graph (top right corner) at that zoom level?