Skip to main content

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

Hi,
I have a question: I want to add a menu point that allows me to EITHER run a common event OR transfer the player to a different map. I tried javascript calls but the game always crashes. How wouldI go about doing that? Thanks :)

(+1)

The JS Command would be

$gameTemp.reserveCommonEvent(commonEventId);
this.popScene();

PERFECT! Thanks :)