Ardenian
A
Ardenian
I read this thread with great interest.
So appearently I can create a struct in GUI and Jass using global variables.
However, I don't understand how.
Example: PlayerID.Index.UnitID
Under each player ID, save Unit IDs under an index:
1.1.Unit A ID
1.2.Unit B ID
1.3.Unit C ID
for every player:
2.1.Unit D ID
(...)
However, I am not sure how I can translate this to Jass and GUI now, using globals.
I would be glad to receive some starting help.
So appearently I can create a struct in GUI and Jass using global variables.
However, I don't understand how.
Example: PlayerID.Index.UnitID
Under each player ID, save Unit IDs under an index:
1.1.Unit A ID
1.2.Unit B ID
1.3.Unit C ID
for every player:
2.1.Unit D ID
(...)
However, I am not sure how I can translate this to Jass and GUI now, using globals.
I would be glad to receive some starting help.