W!†A_cRaft
Ultra Cool Member
- Reaction score
- 28
If i make a structure and make it an AIDS struct like this:
Now if i have some other trigger, in which i need to access the data stored in the unit's struct, how do i reference myself to the structure?
I've read in the documentation:
but i dont understand how to get the specific structure if i have it's unit?
JASS:
Now if i have some other trigger, in which i need to access the data stored in the unit's struct, how do i reference myself to the structure?
I've read in the documentation:
JASS:
// - The structs id will be the units index, so getting the struct for
// a unit inlines to a single native call, and you can typecast between
// different AIDS structs. This is the premise of AIDS.
but i dont understand how to get the specific structure if i have it's unit?