SpawnAbove: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(New page: '''SpawnAbove''' (string ''type'', string ''frametransfer'' [, int ''height''])<br> ==Usage== SpawnAbove is a special spawning function to spawn an object above the source object. ===Pa...)
 
No edit summary
 
Line 1: Line 1:
'''SpawnAbove''' (string ''type'', string ''frametransfer'' [, int ''height''])<br>
{{codepointer|description=SpawnAbove is a special spawning function to spawn an object above the source object.
 
|usage='''SpawnAbove''' (string ''type'', string ''frametransfer'' [, int ''height''])
==Usage==
|parameters=*type: The thing type to spawn.
 
SpawnAbove is a special spawning function to spawn an object above the source object.
 
===Parameters===
 
*type: The thing type to spawn.
*frametransfer: Name or dehackednum of a frame to transfer the spawned object to. Negative values indicate no frame transfer. (Default of 0 = frame 0)
*frametransfer: Name or dehackednum of a frame to transfer the spawned object to. Negative values indicate no frame transfer. (Default of 0 = frame 0)
*height: Integer amount to add to the spawned object's height above the spawner. (Default of 0 = 0 units)
*height: Integer amount to add to the spawned object's height above the spawner. (Default of 0 = 0 units)
 
|notes=Compared to [[SpawnEx]], this special lets you change the spawning frame of the new thing.
[[Category:Codepointers]]
|seealso=
*[[Spawn]]
*[[SpawnEx]]}}

Latest revision as of 16:16, 17 February 2021

Description

SpawnAbove is a special spawning function to spawn an object above the source object.

Usage

SpawnAbove (string type, string frametransfer [, int height])

Parameters

  • type: The thing type to spawn.
  • frametransfer: Name or dehackednum of a frame to transfer the spawned object to. Negative values indicate no frame transfer. (Default of 0 = frame 0)
  • height: Integer amount to add to the spawned object's height above the spawner. (Default of 0 = 0 units)

Examples

No examples given.

Notes

Compared to SpawnEx, this special lets you change the spawning frame of the new thing.

See also