I have the code set up like this:
Set EnAttackID to EnemyProp.At(EnemyIndex, 3, EnemyProp.At(EnemyIndex, 7, Phase))
The debugger tells me at the moment this happens, EnemyIndex is 0 and Phase is 0. The value at 0,7,0 in EnemyProp is 0 and the value at 0,3,0 is 0. But the debugger shows this value setting to null. I even tried just using EnemyProp.At(0,3,0) but it still went null. Only when I put Set EnAttack ID to 0 did it actually work. Why is this happening?
EnAttackID, EnemyIndex, and Phase are all local variables and do have the proper scope for this function.