SetMugShotState
		
		
		
		Jump to navigation
		Jump to search
		
void  SetMugShotState (str state) — ACS version
void  A_SetMugshotState  (String name) — Action function version
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");
}
The player grins when they pick up this berserk pack.
ACTOR GrinBerserk : Berserk { States { Pickup: TNT1 A 0 A_SetMugshotState("Grin") Goto Super::Pickup } }