Skip to content

← Previous | Next →


spawnMonster

Description

Spawns an existing Monster at the specified coordinates.

Return

Type Description
nil nil

Parameters

# Name Type Mandatory Description
1 monsterId MonsterID Yes The unique ID of the Monster to spawn.
2 x number Yes The X coordinate where the Monster will appear.
3 y number Yes The Y coordinate where the Monster will appear.
4 z number Yes The Z coordinate where the Monster will appear.
5 heading number No The direction the Monster will face.
6 bucket integer No The virtual world (bucket) where the Monster will be placed.