Create a timer for 30 secs

  • #1, by AndresWednesday, 01. July 2020, 08:26 4 years ago
    Hi!
    I want to stay in a scene for 30 seconds and then change it to a different scene.
    Is there a command to do this? (pause command is not exactly what I want... I want to interact in the room, but when the 30 seconds are over... then change the room)

    Is this possible?

    Thanks a lot smile
    Andrés

    Newbie

    31 Posts


  • #2, by esmeraldaWednesday, 01. July 2020, 09:22 4 years ago
    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

    Key Killer

    533 Posts

  • #3, by AndresSaturday, 04. July 2020, 05:10 4 years ago
    Thanks a lot!! IT WORKS!!!


    Newbie

    31 Posts