ModWeaponHealthPerc

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Modifies the condition (health) of an actor's currently equipped weapon.

Syntax

[help]
(float) [actor:ref].ModWeaponHealthPerc modifyHealthAmount:float

Example

BruceRef.ModWeaponHealthPerc 50

Adds 50 health to Bruce's currently equipped weapon.

Notes

  • You can also use negative numbers with this command to reduce the health condition of the equipped weapon.
  • Does not seem to update the weapon's health if the actor is the player and is in God Mode (TGM).

See Also