Azlier
Old World Ghost
- Reaction score
- 461
Hahahaha! You have been screwed over by your own script!
You probably need to update JassHelper to allow for static ifs.
If that isn't the reason, it may be some weird bug to do with static ifs.
Edit:
Oooh, nicely done Darth...
struct myStruct extends array
//! runtextmacro AIDS()
//.... other things
endstruct
Bolded part is false. AutoStruct in AutoIndex actually allocates structs, so they can have default values and may use array members just fine.I've realized recently that you can use safely an array member inside a struct only if the instance is allocated.
So like all Indexer systems, it's not the case here, so it doesn't matter that the struct needs to extends array.
Why can't I use "set thistype.dx = GetUnitX(thistype.unit) - GetUnitX(thistype.unit)"? (Don't blame me for the result - It's just there to be replaced later on)
JassHelper just says: line xxx - _get_unit is not a static member of AI (the struct's name).