Difference between revisions of "SetWeaponHealthPerc"
Jump to navigation
Jump to search
imported>Jduvall m (→Syntax) |
imported>MadCat221 (→Notes) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
=='''Examples'''== | =='''Examples'''== | ||
SetWeaponHealthPerc | BruceRef.SetWeaponHealthPerc 50 | ||
Sets the base condition of Bruce's currently equipped weapon to 50%. | Sets the base condition of Bruce's currently equipped weapon to 50%. | ||
=='''Notes'''== | =='''Notes'''== | ||
* | *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'''== | ||
Line 21: | Line 21: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | |||
[[Category:Object Functions]] | [[Category:Object Functions]] | ||
[[Category:Object Functions (GECK 1.1)]] |
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%.