Difference between revisions of "IsWeaponOut"
Jump to navigation
Jump to search
no edit summary
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Ez0n3 |
||
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 | |||
}} | |||
== | ==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== | ||
*[[GetWeaponAnimType]] | *[[GetWeaponAnimType]] | ||