I guess you would have to use lua for this.
Here is an example from the wiki:
Edit: thinking about it - it should be possible with action parts.
Action Beginning of the scene
if value < 30 then
pause 1000ms
value +1
jump to action part #1
else
change scene
end if