SetMugShotState

From ZDoom Wiki
Jump to: navigation, search

void SetMugShotState (str state)

Usage

Used to set the state of the mug shot in SBARINFO status bars. The state you set will only be interrupted by damage or if the player picks up a weapon, provided the mugshot supports it.

Examples

The following example will make the player believe that they are invulnerable or make spectators think he/she is cheating.

script 1 (void)
{
	SetMugShotState("God");
}

See also