Skip to main content

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

sigma_soul

2
Posts
A member registered May 09, 2023

Recent community posts

Little bit of an update:

Turns out that adding another "_enemyAction[1]" to the line below in the create event of oBattle allowed me to complete the second battle, and then the game crashed on the third battle, not sure if it's a fluke or not:


//run AI script for that enemy

var _enemyAction = _unit.AIscript();

if (_enemyAction != -1) BeginAction(_unit.id, _enemyAction[0], _enemyAction[1], _enemyAction[1]); 


Normally it would look like this:

//run AI script for that enemy

var _enemyAction = _unit.AIscript();

if (_enemyAction != -1) BeginAction(_unit.id, _enemyAction[0], _enemyAction[1]); 


Hopefully this is helpful!

HI! I'm getting exactly the same issue with the exact same response and error message when debugging! not sure how to fix it, was wondering if the actions array was not getting properly reset between battles?