I added the Pick every player part and it goes nuts.
PlayerAlive is an array of booleans max #4
Wave# is the current wave.
The error message I get says something along the lines of
"Trigger error in "gt_Next_Level_func"
error occured in starting Starcraft 2.
Please try again.e_arrayindexoverflow"
It does this every time the attacker's food becomes zero, but the trigger runs normally. Minerals are given, resources given is displayed and it goes to the next level.
Wondering if I should worry about this or ignore it for now?
How big is your array 'PlayerAlive'. In your code pick each player, you calling every player space in the game and so if your array is to small it would spout an error. Change 'All players' to 'Active Players' (this only returns that player slots that are currently in use and/or try increasing your array size.
If this didn't help, sorry
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I had a trigger working fine. I added a line or two, and now every time it's executed red error text appears on the left.
http://img230.imageshack.us/img230/4209/trigger.png
I added the Pick every player part and it goes nuts. PlayerAlive is an array of booleans max #4 Wave# is the current wave.
The error message I get says something along the lines of
"Trigger error in "gt_Next_Level_func" error occured in starting Starcraft 2. Please try again.e_arrayindexoverflow"
It does this every time the attacker's food becomes zero, but the trigger runs normally. Minerals are given, resources given is displayed and it goes to the next level.
Wondering if I should worry about this or ignore it for now?
(lets hope im on the right track :) )
How big is your array 'PlayerAlive'. In your code pick each player, you calling every player space in the game and so if your array is to small it would spout an error. Change 'All players' to 'Active Players' (this only returns that player slots that are currently in use and/or try increasing your array size.
If this didn't help, sorry