itch.io Spring Selects Series A
On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

when i die in the fights i get this error:

A topic by M1MlL created Nov 21, 2023 Views: 107 Replies: 2
Viewing posts 1 to 2

___________________________________________

############################################################################################

ERROR in

action number 1

of  Step Event0

for object oBattle:

Push :: Execution Error - Variable Index [0] out of range [0] - -7._possibleTargets(100102,0)

 at gml_Script_anon____struct___20____struct___19_gml_GlobalScript_GameData_5293____struct___20____struct___19_gml_GlobalScript_GameData (line 243) -                      var _target = _possibleTargets[irandom(array_length(_possibleTargets)-1)];

############################################################################################

gml_Script_anon____struct___20____struct___19_gml_GlobalScript_GameData_5293____struct___20____struct___19_gml_GlobalScript_GameData (line 243)

gml_Script_BattleStateSelectAction_gml_Object_oBattle_Create_0 (line 188) -                             var _enemyAction = _unit.AIscript();

gml_Object_oBattle_Step_0 (line 1) - battleState();

I get this error as well. It also happens to me when I defeat all the enemies. Do you get that error too?

yes