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 entry
GameObject entry ID.
Valid numbers: integers from 0 to 4,294,967,295.
number x
Valid numbers: all decimal numbers.
number y
Valid numbers: all decimal numbers.
number z
Valid numbers: all decimal numbers.
number o
Valid 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.