Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

They can also be reproduced by creating dummy enemies that bomb the moment they are generated.

First, create a dummy enemy who self-destructs upon death(Explosion radius is set in the editor) and his FSM file.

Use SETVAR to set a variable at the beginning of state CHASE, and then use that variable in JUMPIFEQUALS to move to state DEATH.

Finally, generate them in a specific location with a script.

This way, when the script is activated, the explosion can occur at any coordinates.