GetWeaponHealthPerc

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

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

Syntax

[help]
(float) [actor:ref].GetWeaponHealthPerc

Example

If BruceRef.GetWeaponHealthPerc < 50

Checks to see if Bruce's equipped weapon is below 50% of its base condition.

See Also