SetWeaponHealthPerc

From the Fallout3 GECK Wiki
Revision as of 19:04, 10 July 2011 by imported>MadCat221 (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description[edit | edit source]

SetWeaponHealthPerc sets the base condition (health) of an actor's currently equipped weapon.

Syntax[edit | edit source]

SetWeaponHealthPerc [Value]

Examples[edit | edit source]

BruceRef.SetWeaponHealthPerc 50

Sets the base condition of Bruce's currently equipped weapon to 50%.

Notes[edit | edit source]

  • In Fallout: New Vegas, this command is hardcoded not to increase condition beyond 99.83%. This is a workaround for a bug concerning odd results for calculations with the condition at a full 100%.

See Also[edit | edit source]