Skip to content

← Previous | Next →


POKEMON

Description

Creates a Pokémon with the defined attributes.

Attributes


Attribute id

Name Required Description Parameters
id Yes The Pokémon ID. 1

Parameters of id

# Name Type Description Multiple
1 string ID The Pokémon ID. No

Attribute name

Name Required Description Parameters
name Yes The Pokémon name. 1

Parameters of name

# Name Type Description Multiple
1 string Name The Pokémon name. No

Attribute level

Name Required Description Parameters
level No The Pokémon level. 1

Parameters of level

# Name Type Description Multiple
1 integer Level The Pokémon level. No

Attribute moves

Name Required Description Parameters
moves No The Pokémon moves. 1

Parameters of moves

# Name Type Description Multiple
1 move PokemonMoveID The Pokémon move. Yes

Attribute position

Name Required Description Parameters
position No The Pokémon position. 4

Parameters of position

# Name Type Description Multiple
1 x number The Pokémon X position. No
2 y number The Pokémon Y position. No
3 z number The Pokémon Z position. No
4 heading number The Pokémon heading. No

Attribute nick

Name Required Description Parameters
nick No The Pokémon nickname. 1

Parameters of nick

# Name Type Description Multiple
1 Nickname string The Pokémon nickname. No

Attribute skin

Name Required Description Parameters
skin No The Pokémon skin. 1

Parameters of skin

# Name Type Description Multiple
1 Skin PokemonSkinID The Pokémon skin. No

Attribute shiny

Name Required Description Parameters
shiny No If the Pokémon is shiny. 1

Parameters of shiny

# Name Type Description Multiple
1 boolean Shiny If the Pokémon is shiny. No

Attribute item

Name Required Description Parameters
item No The item equipped by the Pokémon. 1

Parameters of item

# Name Type Description Multiple
1 Item ItemID The item equipped by the Pokémon. No

Attribute sex

Name Required Description Parameters
sex No The Pokémon sex. 1

Parameters of sex

# Name Type Description Multiple
1 Sex string The Pokémon sex M, F or N. No

Attribute nature

Name Required Description Parameters
nature No The Pokémon nature. 1

Parameters of nature

# Name Type Description Multiple
1 Nature PokemonNatureID The Pokémon nature. No

Attribute ability

Name Required Description Parameters
ability No The Pokémon ability. 1

Parameters of ability

# Name Type Description Multiple
1 Ability PokemonAbilityID The Pokémon ability. No

Attribute IV

Name Required Description Parameters
IV No The Pokémon IVs. 6

Parameters of IV

# Name Type Description Multiple
1 HP integer The Pokémon HP IV. A number between 0 and 31. No
2 ATK integer The Pokémon ATK IV. A number between 0 and 31. No
3 DEF integer The Pokémon DEF IV. A number between 0 and 31. No
4 SPA integer The Pokémon SPA IV. A number between 0 and 31. No
5 SPD integer The Pokémon SPD IV. A number between 0 and 31. No
6 SPE integer The Pokémon SPE IV. A number between 0 and 31. No

Attribute EV

Name Required Description Parameters
EV No The Pokémon EVs. 6

Parameters of EV

# Name Type Description Multiple
1 HP integer The Pokémon HP EV. A number between 0 and 255. No
2 ATK integer The Pokémon ATK EV. A number between 0 and 255. No
3 DEF integer The Pokémon DEF EV. A number between 0 and 255. No
4 SPA integer The Pokémon SPA EV. A number between 0 and 255. No
5 SPD integer The Pokémon SPD EV. A number between 0 and 255. No
6 SPE integer The Pokémon SPE EV. A number between 0 and 255. No

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 
    givePokemon pokemon_id_example 

  behaviour 
    nothing