Spawn: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(New page: Type: Miscellaneous, parameterized Parameter Information: *Unknown 1 = DeHackEd number of thing type to spawn (must be valid, no default) *Unknown 2 = Integer amount of units to add to...)
(No difference)

Revision as of 17:53, 15 August 2009

Type: Miscellaneous, parameterized

Parameter Information:

  • Unknown 1 = DeHackEd number of thing type to spawn (must be valid, no default)
  • Unknown 2 = Integer amount of units to add to z coordinate of object (default = 0)

Purpose: 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. This codepointer is new to MBF.

Notes: This codepointer will no longer crash on invalid thing type numbers as of Eternity Engine v3.31 public beta 3. 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.

Thunk: Yes.