← Previous | Next →
 
 TRAINER
 Description
 Creates a trainer NPC joining a team of Pokémon with a defined NPC.
 Attributes
 
 Attribute npc
    | Name | Required | Description | Parameters | 
    | npc | Yes | The NPC that will represent the trainer. | 1 | 
  
 Parameters of npc
    | # | Name | Type | Description | Multiple | 
    | 1 | NPC | NPCID | The NPC that will represent the trainer. | No | 
  
 
 Attribute pokemon
    | Name | Required | Description | Parameters | 
    | pokemon | Yes | The team of Pokémon that the trainer will have. | 1 | 
  
 Parameters of pokemon
    | # | Name | Type | Description | Multiple | 
    | 1 | Pokemon | PokemonID | The Pokémon ID that the trainer will have. | Yes | 
  
 
 Example
 
  POKEMON 
  id trainer_pokemon_id 
  name bulbasaur 
  level 5 
  moves vine_whip 
  TRAINER 
  npc Rival 
  pokemon trainer_pokemon_id 
  NPC 
  name Rival 
  model a_m_m_eastsa_02 
  position -1020.72 4839.78 258.30 0.0 
  interaction 
    startPokemonBattle 
  behaviour 
    nothing