Skip to main content

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

I placed eggtimers on a bunch of cards, and then wanted to loop through them and change the Seconds value. I've done this in the Listener with Field widgets, but how do I do it with eggtimers? This doesn't seem to work, to change it for a single eggtimer:

eggtimer1.event["set_seconds" 180]
(1 edit) (+1)

The attribute exposed externally is `seconds`. The internal accessor/mutator functions are therefore named `get_seconds` and `set_seconds`, respectively. From the outside, you can modify the attribute like

eggtimer1.seconds:180
(+1)

Ah, it's shown under Prototype/Attributes...

I managed to look everywhere else.