IsWeaponSkillType

From the Fallout3 GECK Wiki
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)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::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

[help]
(0, 1:int) weapon.IsWeaponSkillType SkillName

Example

weaponRef.IsWeaponSkill MeleeWeapons