• 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.

How to give a trainer a pokemon in Event Page using script?

5
Posts
11
Years
    • Seen Apr 15, 2014
    Thx Marino for noticing me I shouldn't reply a old thread for no reply over 2 months.

    Not setting the "trainers.txt" or other things,
    How to give a trainer a Pokemon in event?

    I know that is a script like "pbGivePokemon", but that works in player only.
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    The point of trainers.txt is to do exactly this. You can't just throw together an NPC's team on the fly; you need to define all possible teams that NPC could have in trainers.txt. The wiki clearly states this, and there is an example in the example maps.
     
    Back
    Top