Difference between revisions of "IsWeaponOut"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Cipscis
(Not too sure about the terminology in the first note)
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Line 12: Line 12:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions (GECK 1.0)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]

Revision as of 12:11, 12 August 2009

Returns 1 if the calling actor currently has a weapon out, and 0 otherwise.

Syntax

ActorID.IsWeaponOut

Notes

  • The value returned by IsWeaponOut will change when the weapon becomes attached to the weapon node. For NPCs without a weapon, this is at the end of the equip/unequip animations.
  • IsWeaponOut will always return 0 for Creatures without a weapon.

See Also