Skip to main content

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

Live Call on every Object Event

A topic by Cain_13 created Sep 10, 2020 Views: 275 Replies: 1
Viewing posts 1 to 2

Does the code:

if(live_call()){ return live_result; }

need to be on every Event (ex. Create, Step, etc.) of an object? Or can it be placed in the Create event and still affect the other events in the same object?

Developer

It does have to be in each event, which is because each event is separate in terms of execution.

If you are using GMS2/GMS2.3, you can make a macro for that entire line for easier entry.