BrainSpit: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(New page: Type: Monster attack, normal Purpose: Boss brain spawn cube attack. If there are no boss spawn spots on the level, this function will do nothing. If the game is on the an easy skill level...)
 
(cat)
 
Line 6: Line 6:


Thunk: Yes.
Thunk: Yes.
[[Category:Codepointers]]

Latest revision as of 06:09, 28 December 2011

Type: Monster attack, normal

Purpose: Boss brain spawn cube attack. If there are no boss spawn spots on the level, this function will do nothing. If the game is on the an easy skill level, this function will do nothing on every other call. Otherwise, a boss spawn spot will be selected by its map spawning order, and a BossSpawnCube object will be fired at it like a missile. The object will then emit the "bospit" sound effect.

Notes: The MBF friendliness flag will be transferred to the spawn cube from the firing object. This is so that the cube will later spawn either an enemy or friendly monster, depending on the friendliness of its originating boss brain.

Thunk: Yes.