DrawMugShot
Jump to navigation
Jump to search
Note: This function is for SBARINFO. For drawing mugshots in ZScript, see GetMugShot |
.
DrawMugShot <accuracy> [, flags, ...], <x>, <y>
Draws a mug shot at the specified location. It will prefix the image to what is specified in Player.Face and will automatically adjust itself to skins. Accuracy can be a number in the 1-9 range which specifies how many blood levels there are before death. Flags are:
- xdeathface
- Will draw ***XDTH0-***XDTH5 when the player is gibed.
- animatedgodmode
- ***GOD1 and ***GOD2 will also be displayed while in god mode.
- disablegrin
- Disables the grin state.
- disableouch
- Disables the ouch state.
- disablepain
- Disables the pain state.
- disablerampage
- Disables the rampage state.
custom
- (Need more info)
Note: Early versions of this command had an additional default parameter at the beginning which gave the default prefix to use for the mugshot unless overridden by a skin. This parameter has been deprecated in favor of Player.Face. |