A_Beacon

From ZDoom Wiki
Jump to navigation Jump to search

A_Beacon
(no parameter)

Attempts to spawn one Rebel1 facing the angle of the calling beacon. If the spawning creates a useful actor, then the calling actor can no longer be picked up by the player. A TeleportFog will also be spawned slightly in front of the rebels.

The rebels have the INCOMBAT flag set and will be set in their See state. In multiplayer the rebels will have the player's translation transferred to them, and in deathmatch the rebels will have their health doubled.

The calling actor's health is decremented by one. If the actor's health reaches 0 then it is sent to its Death state.

This codepointer is restricted to TeleporterBeacon and derived classes.