SetMugShotState

From ZDoom Wiki
Jump to navigation Jump to search
Note: This page is about an ACS function. For a similar ZScript function see A_SetMugshotState.


void SetMugShotState(str state)

Usage

Used to set the state of the mugshot as defined in SBARINFO. 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