- Found in:
- SKSE
voidfunctionEquipItemById(Formitem, intitemId, intequipSlot=0, boolpreventUnequip=false, boolequipSound=true)Native
Description
Wiki Description
Forces this actor to equip the specified item to the specified slot.
Documentation Comment
equips item with matching itemId at the given slot
Parameters
Formitem
intitemId
intequipSlot=0
boolpreventUnequip=false
boolequipSound=true
Examples
No human-generated examples found for this function.
Auto-Generated Example
Form myForm__item
int myInt__itemId
int myInt__equipSlot
bool myBool__preventUnequip
bool myBool__equipSound
myActor__toCallFunctionOn.EquipItemById(myForm__item, myInt__itemId, myInt__equipSlot, myBool__preventUnequip, myBool__equipSound)Related Pages
- Actor
- Actor.IsEquipped(...)
- Actor.UnequipItem(...)
