Method WorldObject:SummonGameObject [-] [+]
Spawns a GameObject at specified location.
Synopsis
gameObject = WorldObject:SummonGameObject( entry, x, y, z, o )
gameObject = WorldObject:SummonGameObject( entry, x, y, z, o, respawnDelay )
Arguments
number entryGameObject entry ID.
Valid numbers: integers from 0 to 4,294,967,295.
number xValid numbers: all decimal numbers.
number yValid numbers: all decimal numbers.
number zValid numbers: all decimal numbers.
number oValid numbers: all decimal numbers.
number respawnDelay (30)Respawn time in seconds.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
GameObject gameObject- See method description.