Replies: 1 comment
-
Spawning units is a little more tricky, it's pretty slow to parse the XML of their unit file and using the PackageManager:unit_data is also sort of slow, but has a tendency of crashing (you'd crash if you'll try to spawn the problematic unit, but at least you'll know which unit that was vs just opening the list and crashing), I'd like to stop using it at some point. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the unit file there's a type value that seems to be used for searching groups of units from a DLC.
<unit type="gen" slot="1">
Being able to use this somehow for spawning or searching for units would be handy.
Context in overkills editor, a short ID filter section.

Beta Was this translation helpful? Give feedback.
All reactions