How to make a timer before an event in pulp?

I have a area in my game and i want an enemy to spawn after 30 seconds, does anyone know how i could do this?

I think probably

on enter do
wait 30 then
call "eventName"

then in eventName somewhere you can add your enemy

1 Like