the_dude_abides
Member
I have been looking at the object files in notepad, as I wish to edit them manually.
For this part:
<event eventtype="0" enumb="0">
from what I have observed they are placed by GMS in numerical order for event eventtype, and the enumb part is not.
I switched around the order for the event type, and it did not seem to make any difference.
eventtype = 1
eventtype = 0
instead of how GMS places them
eventtype = 0
eventtype = 1
etc
When accessing the object, at least in the resource tree, it still showed everything where it should. I'm assuming because it reads the value of eventtype and gets what event it is, rather than the order of it's placement having any effect.
I can figure out how to rewrite them the same way, but am unsure if it's necessary since it didn't seem to affect them if they're not ordered by value.
It obviously isn't how GMS writes these files, so I just wondered if there is an aspect here I'm missing as to why they are placed numerically?
For this part:
<event eventtype="0" enumb="0">
from what I have observed they are placed by GMS in numerical order for event eventtype, and the enumb part is not.
I switched around the order for the event type, and it did not seem to make any difference.
eventtype = 1
eventtype = 0
instead of how GMS places them
eventtype = 0
eventtype = 1
etc
When accessing the object, at least in the resource tree, it still showed everything where it should. I'm assuming because it reads the value of eventtype and gets what event it is, rather than the order of it's placement having any effect.
I can figure out how to rewrite them the same way, but am unsure if it's necessary since it didn't seem to affect them if they're not ordered by value.
It obviously isn't how GMS writes these files, so I just wondered if there is an aspect here I'm missing as to why they are placed numerically?