Hey guys, I'm needing some help with a function, and I don't understand why it's making the error it is.
High Level, I'm trying to have the function do this....
________________________________________
Search for chest within a specific range: I think what I have has it keep searching, but it searches too far and it shouldn't? This means it never resigns and returns if there isn't a chest. I've tried longbow range and Spawn. Both don't seem to work
If "NO" chest in that range: resign and return to outpost
If "YES" chest is found in that range, then [kill all enemies until it's =1 within my aggro range]. *If 1 enemy in aggro range is true, and found chest is true, then I want it to continue to grab chest and resignreturn.
*The 1 enemy is important, and I want it to continue chestrun and not keep trying to kill that enemy, because it will take too long.
_____________________________________________
It should be fairly simple, but it's very irritating how I can't get this piece right.
FYI I'm using Vaettir files for call types






