SineCosine
I'm still looking for my Tangent
- Reaction score
- 77
Yea, I've been using it to pass data for those GroupEnum functions..
But I've never really understood what a private static is.
I've always declared them in a struct like this.
Then, set them like this:
But, how often do I need to 'Set' it?
Whenever there is a change?
Or do I only need to set it once?
(When the struct is just allocated/created)
Am I referring to a struct instance whenever I call this? o.0
[EDIT]
Also..
What's the minimum value for a unit to be considered alive?
0.402?
I duno xD
[EDIT=2]
How do I detect if an Enumed unit is a ward?
There's no UNIT_TYPE_WARD
But I've never really understood what a private static is.
I've always declared them in a struct like this.
JASS:
private static thistype data = 0
Then, set them like this:
JASS:
set thistype.data = this
But, how often do I need to 'Set' it?
Whenever there is a change?
Or do I only need to set it once?
(When the struct is just allocated/created)
Am I referring to a struct instance whenever I call this? o.0
[EDIT]
Also..
What's the minimum value for a unit to be considered alive?
0.402?
I duno xD
[EDIT=2]
How do I detect if an Enumed unit is a ward?
There's no UNIT_TYPE_WARD