Background for Skyrim SE
Member of the NiOverride script
boolfunctionHasWeaponOverride(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal

Description

Documentation Comment

Version 3 (Weapon Overrides)

ObjectReference must be an Actor
If a weapon is templated it will inherit the properties of its parent first
Note that the player seems to be a special-case where they use the first person model for both first and third person

Overrides will clean themselves if the Weapon no longer exists (i.e. you uninstalled the mod they were associated with)


Parameters

  1. ObjectReferenceref

  2. boolisFemale

  3. boolfirstPerson

  4. Weaponweap

  5. stringnode

  6. intkey

  7. intindex


Examples

Auto-Generated Example

ObjectReference myObjectReference__ref
bool myBool__isFemale
bool myBool__firstPerson
Weapon myWeapon__weap
string myString__node
int myInt__key
int myInt__index

bool returnedValue = NiOverride.HasWeaponOverride(myObjectReference__ref, myBool__isFemale, myBool__firstPerson, myWeapon__weap, myString__node, myInt__key, myInt__index)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.