Skip to content

← Previous | Next →


givePokemon

Description

Gives a pokemon copy choosed by an ID to the character.

Basic information

Name Type Possibilities
givePokemon interaction 2

Parameters

# Name Type Mandatory Description Multiple
1 pokemonId PokemonID Yes The ID of the pokemon to copy and give. No

Outputs

# Description
1 The pokemon was given successfully.
2 The pokemon couldn't be given.

Example


  POKEMON 

  id pokemon_id_example 
  name charmander 
  level 5 
  moves tackle 

  NPC 

  name NPC 
  model a_m_m_eastsa_01 
  position -1020.72 4839.78 258.30 0.0 

  interaction 
    localCheck given_pokemon 
      tell "hello, i will give you a charmander" 
        givePokemon pokemon_id_example 
      tell "I gave you a charmander previously..." 

  behaviour 
    nothing