Difference between revisions of "SetWeaponHealthPerc"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>MadCat221
 
Line 14: Line 14:


=='''Notes'''==
=='''Notes'''==
*None at this time.
*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'''==
=='''See Also'''==

Latest revision as of 18:04, 10 July 2011

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]