DrawGem

From ZDoom Wiki
Jump to navigation Jump to search

DrawGem [flags, ..., ] <chainimage>, <gemimage>, <leftpadding>, <rightpadding>, <chainsize>, <x>, <y>
Draws a Heretic-style life gem. The gem can move anywhere on the chainimage unless paddings are specified. The chain will shift a maximum of chainsize pixels to the right while the gem is moving. Flags are:

wiggle
Enable Heretic-style wiggling.
translatable
Add player color translations to the gem image.
armor
Changes the value represented from health to armor.
reverse
Reverses the direction of the gem.
interpolate(<speed>)
Interpolates the value drawn.