SetWeaponType - Weapon

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Weapon Script

Changes the weapon type of this weapon. (This function requires SKSE)

Syntax[edit | edit source]

Function SetWeaponType(int type) native

Parameters[edit | edit source]

  • type: The new weapon type of this weapon.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Set the weapon type of WeaponProperty to 2H sword
WeaponProperty.SetWeaponType(5)

See Also[edit | edit source]