← Previous | Next →
spawnPokemon
Description
Spawns an existing Pokémon at the specified coordinates.
Return
Parameters
# | Name | Type | Mandatory | Description |
1 | pokemonId | PokemonID | Yes | The unique ID of the Pokémon to spawn. |
2 | x | number | Yes | The X coordinate where the Pokémon will appear. |
3 | y | number | Yes | The Y coordinate where the Pokémon will appear. |
4 | z | number | Yes | The Z coordinate where the Pokémon will appear. |
5 | heading | number | No | The direction the Pokémon will face. |
6 | bucket | integer | No | The virtual world (bucket) where the Pokémon will be placed. |