GML Question about Enumerators

T

TheShyestJake

Guest
I'm trying to use enumerators to make my arrays more readable. However I'm running into an issue of sorts; (the fix for which seems like a bunch of manual editing of enum fields, gross lol) the question is whether different enumerators of the same "slot" are different from each other.

So for example
enum x { 1, 2, 3, etc}
enum y { 1, 2, 3, etc}

is saying x.1 different than saying y.1?

I've looked up and down google btw, and the GML documentation.
 
T

TheShyestJake

Guest
Thanks for the reply :) My follow up question would be if there's an easier way to number my enumerators than to do it manually. Right now all my entries count up for every single enum entry I have and this could potentially get a bit messy. (I'm using it for an input configuration system so there could be quite a lot. )
 
T

TheShyestJake

Guest
Ah yes I should've been more clear, I have multiple enumerators and the entries in each I have continuing to count up throughout.

so I have enum A { x = 0 } and then enum B { y = 1 } for the same reason that x.0 and y.0 would be the same.
 
Top