PLR MORALE

From EDukeWiki
Revision as of 06:10, 9 December 2007 by Hunter byte (talk | contribs) (Beware: bad English here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PLR_MORALE is a gamevar that is used to override shield amount which is shown at the status bar.

It doesn't change the shield amount. It just a visual illusion at the status bar. The default value is -1. When this variable is -1, the status bar shows the actual shield amount. If not, it shows PLR_MORALE instead.

I think it's useful for debug. If I want to know a variable's value, I'd sets the variable's value to the PLR_MORALE. So I can see the value at the status bar and it won't affect the gameplay.

I'm just wondering why it was called "MORALE".