Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Envy2331

3
Posts
1
Topics
A member registered Sep 08, 2021

Recent community posts

Fix works perfectly, thanks.

Another thing to note, the crash only happens at the start of the turn involving the party member with spells like fire or ice.

(1 edit)

I've tried completely reverting changes, re-extracting the zip, everything pretty standard, but for some reason I get the following error even after returning the project to it's completely original state. The Bug seems to have something to do with magic, as whenever I completely remove spells from global.party actions[], the game runs fine (just without fire or ice etc. of course).

___________________________________________

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

ERROR in

action number 1

of  Step Event0

for object oBattle:

trying to index a variable which is not an array

 at gml_Script_anon_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4001_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line 139) -                                           if (_option[0] == "Attack") return 99;

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

gml_Script_anon_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4001_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line 139)

gml_Script_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line 146) -                                    return _Priority(_b) - _Priority(_a);

gml_Script_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line 135)

gml_Object_oBattle_Step_0 (line 42) -               if (!instance_exists(oMenu)) DoTurn(units[turn]);