SetEquipType - Weapon

From Creation Kit
Jump to: navigation, search

SKSE Member of: Weapon Script


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

Syntax

Function SetEquipType(EquipSlot type) native

Return value

None

Examples

; Set a weapons equip slot 
EquipSlot slotEither = Game.GetForm(0x00013F44) As EquipSlot
thisWeapon.SetEquipType(slotEither)

Notes

  • Known EquipSlots:
    • 00013F42 -> RightHand
    • 00013F43 -> LeftHand
    • 00013F44 -> EitherHand
    • 00013F45 -> BothHands

See Also