• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Eventing Question] I cant seem to make a Time Based event...

  • 80
    Posts
    6
    Years
    • Seen Nov 5, 2023
    So, my problem is that I want to have a Countdown and after that countdown a Text appears and a Switch gets put to ON which triggers deadly Poison and let all trainers disappear

    Heres what I set Up:

    PAGE 1 (Autorun):

    Code:
    if TIMEROFF SWITCH is ON:
    TEXT: TIMERS UP:
    POISON switch ON
    else
    Text: YOU GOT A TIMER
     make TIMEROFF SWITCH ON
    pbSetEventTime

    PAGE 2 is empty page with only (if Self Switch A is on)

    PAGE 3 is a mostly empty page with (if Self Switch a is on and if Switch: s:cooledDown?(6) is on)
    The only content in P.3 is
    Code:
    Control Self Switch A = OFF
    setTempSwitchOn("A")

    For some reason It seems that the Timer Starts, but never it tells me that it stops.
    Maybe it is cause autorun, maybe it is cause setTempSwitchOn("A"). Please help me!
     
    Back
    Top