• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

Event Triggering

  • 9
    Posts
    10
    Years
    • Seen Feb 15, 2015
    Hey guys,
    Does anyone knows how i can let events trigger other events?
    Like when you have talken to Prof. Oak and choosed Your starter, and walk outside door,
    Your rival shows up or something.
    Rival only may show up when you talked to Oak and chose Your starter.
     
    Code:
    pbSetSelfSwitch([COLOR=lime]14[/COLOR], "[COLOR=red]A[/COLOR]", [COLOR=magenta]true[/COLOR])

    # of the event you want to affect
    what page event you want to affect
    whether that page of that event is set to true or false
    ---------
    That's the whole problem. I can't trigger events that are in different maps...
     
    ---------
    That's the whole problem. I can't trigger events that are in different maps...

    You can't trigger events that are on different maps. Instead, set a global switch in the first event, and have the second event (on the different map) triggered by that global switch being on.
     
    You can't trigger events that are on different maps. Instead, set a global switch in the first event, and have the second event (on the different map) triggered by that global switch being on.
    ----
    I don't know the command for that T_T
     
    When in an event, hit enter. There's a button that says "Control Switches". Make sure to label it so you can identify it later. Pretty straightforward.
    And i still dont know how to set a global event -_-''
     
    That's some REALLY basic stuff you're having problem with, I would fiddle with vanilla/standard RMXP projects first if I were you to get more used to the simple (yet essential) stuff. Also, check this out: https://www.rmxp.tigerseye.uk.com/tutorial_event1.shtml , it's really good for those that just started out messing with RMXP.

    Good luck!
     
    Back
    Top