Spawn: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
No edit summary
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
If the type indicated is not valid, the pointer will do nothing. Also note that if both the source and spawned object are solid, they will become stuck to each other. This codepointer is more suitable for boss-brain-like effects.
If the type indicated is not valid, the pointer will do nothing. Also note that if both the source and spawned object are solid, they will become stuck to each other. This codepointer is more suitable for boss-brain-like effects.


Can be used in [[PlayerThunk]].
NOTE: for [[Decorate state syntax|Decorate]] availability, use [[SpawnEx]] or [[SpawnAbove]].


==See also==
==See also==
*[[List of codepointers]]
*[[List of codepointers]]
[[Category:Codepointers]]
[[Category:MBF codepointers]]

Revision as of 01:57, 29 April 2020

Parameters:

  • misc1 = Thing mnemonic or DeHackEd number to spawn (must be valid, no default)
  • misc2 = Integer amount of units to add to z coordinate of object (default = 0)

Spawns an object of the provided type at the calling object's location. Friendliness of the calling object will be transferred to the spawned object.

If the type indicated is not valid, the pointer will do nothing. Also note that if both the source and spawned object are solid, they will become stuck to each other. This codepointer is more suitable for boss-brain-like effects.

NOTE: for Decorate availability, use SpawnEx or SpawnAbove.

See also