- Found in:
- RaceMenu
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
ObjectReferenceref
boolisFemale
boolfirstPerson
Weaponweap
stringnode
intkey
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)