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
jump to action part #1