IsWeaponSkillType
Revision as of 04:54, 21 August 2011 by imported>Cipscis (Corrected example; thanks to CyberSpyder on TheNexusForums - http://www.thenexusforums.com/index.php?/topic/424171-menumode-script-doesnt-complete/page__view__findpost__p__3515571)
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Returns 1 if the calling reference is a weapon of the specified type, and returns 0 otherwise.
Syntax
(0, 1:int) weapon.IsWeaponSkillType SkillName
Example
weaponRef.IsWeaponSkill MeleeWeapons