ZDoom codepointer extensions

From ZDoom Wiki
Jump to navigation Jump to search

In addition to the DoomWikiLogoIcon.pngBEX codepointers available from BOOM, the following codepointers are also available in ZDoom:

From DoomWikiLogoIcon.pngMBF

Detonate

The actor that uses this code pointer will create an explosion with size and damage determined by its Missile Damage field.

Mushroom

Creates a "mushroom cloud" of mancubus shots just above the actor.

Die

The actor that uses this dies.

From Hexen

SetReflective

The actor becomes reflective, and any projectiles that strike it will bounce off of it, though it will still take damage.

UnSetReflective

The actor is no longer reflective.

SetInvulnerable

The actor becomes impervious to damage.

UnSetInvulnerable

The actor is able to take damage again.

SetShootable

The actor can be hit by projectiles/hitscan weapons.

UnSetShootable

The actor cannot be hit by projectiles/hitscan weapons.

New to ZDoom

FireRailgun

Fires a railgun from the center of the player's screen. Only for player weapons.

FireRailgunRight

Fires a railgun from the right side of the player's screen. Only for player weapons.

FireRailgunLeft

Fires a railgun from the left side of the player's screen. Only for player weapons.

MonsterRail

Makes a monster fire a railgun. The amount of damage dealt by the railgun is determined by the monster's Missile Damage field.

RailWait

Exactly the same as NULL. In fact, you are encouraged to use NULL instead of this, because it is considered deprecated.

SetReflectiveInvulnerable

Makes the actor reflect projectiles and impervious to other types of damage.

UnSetReflectiveInvulnerable

Undoes the effect of SetReflectiveInvulnerable.

Gravity

Allows the actor to fall under the effects of gravity.

NoGravity

Causes the actor to float in the air instead of fall.