you cannot start and check the timer in the same event.
your event above runs once on action button.
timer starts at 30 sec. it is tested if it is less than one second in the same moment - which is no, because it is still at 30 seconds.
and then nothing - the timer runs out thirty second later without ever being tested again.
and if you restart it, the timer is set to 30 again, so it never runs lower.
if you start the timer in a different event it will work
and if that does not fit your game, then you need to tell us what you want to happen, not how you want it - then we can tell you how to do that.
That worked perfectly!
I essentially just made invisible event handling the SE and item give out separate from timer event
there are a few methodes to run in event, but the above 1 as Andar
said wont work.
Methode 1 (start timer in parallel or from action button from the
npc that gave it), create an else brance if he has the pizza already.
on the delivery NPC, you can make the check as above if timer
is lower or 0 minutes, 0 second or lower,
than you are to late, otherwise in an else branche, your on time.
methode 2.
run a timer on autorun and a selfswitch, use another even in parallel
that checks (use switch to check = ON).
on the NPC, create an if branch if the timer is is > than 0min, 0 sec
or < than 0 min, 0 second and set the switch OFF.
in the else branche the score otherwise, your to late.
while there are 2 other methodes, we dont know exactly the mechanic you
want to make, but there are ways to make it better with 2 or 3 events
respectively (as I use 2 timers with 2 events and 1 common event)
as the common event is crucial.
you can do so if you have 1 timer, and a seperate timer (variable timer)
if you can or need to score multiple points in a given limit.