Difference between revisions of "IsWeaponOut"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Ez0n3
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Returns 1 if the calling actor currently has a weapon out, and 0 otherwise.
{{Function
|CSWikiPage = IsWeaponOut
|origin = GECK1
|summary = Returns 1 if the calling actor currently has a weapon out, and 0 otherwise.
|name = IsWeaponOut
|returnVal = 0, 1
|returnType = int
|referenceType = [ActorRefID]
|example = if BuddyRef.IsWeaponOut
}}


=='''Syntax'''==
==Notes==
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.
*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.
*IsWeaponOut will always return 0 for Creatures without a weapon.


=='''See Also'''==
==See Also==
*[[GetWeaponAnimType]]
*[[GetWeaponAnimType]]


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

Latest revision as of 07:54, 12 January 2011

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: IsWeaponOut.

A function included in the GECK version 1.1.0.36.

Description

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

Syntax

[help]
(0, 1:int) [ActorRefID].IsWeaponOut

Example

if BuddyRef.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