• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

[Scripting Question] Trainer battles inside scripts

  • 16
    Posts
    12
    Years
    • Seen Dec 13, 2016
    I'm having some trouble getting a battle to occur in the middle of an event. I'm just starting out learning the language so i'm not sure if this is something easy that i'm not understanding. I've tried using the comment system, but that does nothing. I also tried running the script from the trainers page on the essentials wiki: pbTrainerBattle(PBTrainers::CAMPER,"Dave",_I("I enjoyed it."),false,0,false) But that doesn't work for me either.

    Any ideas on what i'm doing wrong?
     
    Back
    Top