Tyman2007
Ya Rly >.
- Reaction score
- 74
I've been getting into structs and I haven't had too much experience with them..
I've been wondering, that when I set the variables in the struct, say something like this
How can I use the variables I set in other functions? I don't quite know how to work that. Like, is it
I've been confused on this, and this would truly make my life a whole lot easier..
I've been wondering, that when I set the variables in the struct, say something like this
JASS:
private struct DATA
unit u
endstruct
private function Actions takes nothing returns nothing
local DATA d = DATA.create()
set d.u = GetSpellAbilityUnit()
endfunction
How can I use the variables I set in other functions? I don't quite know how to work that. Like, is it
JASS:
I've been confused on this, and this would truly make my life a whole lot easier..