Difference between revisions of "Actor Script"
Jump to navigation
Jump to search
→SKSE Member Functions: Added GetID/EquipID functions, corrected UpdateWeight Params. Page should contain all SKSE Functions upto 1.06.16
imported>CraftySentinel (Formatting Change) |
imported>CraftySentinel (→SKSE Member Functions: Added GetID/EquipID functions, corrected UpdateWeight Params. Page should contain all SKSE Functions upto 1.06.16) |
||
Line 758: | Line 758: | ||
!style="text-align:left;"|Description | !style="text-align:left;"|Description | ||
|- | |- | ||
|[[GetWornForm - Actor|Form '''GetWornForm'''(Int ''slotMask'')]] | |[[GetWornForm - Actor|Form '''GetWornForm'''(Int ''slotMask'')]] | ||
|Returns the form of the item worn with the specified slotMask. | |Returns the form of the item worn with the specified slotMask. | ||
|- | |||
|[[GetWornFormId - Actor|Int '''GetWornFormId'''(Int ''slotMask'')]] | |||
|Returns the formID of the item worn with the specified slotMask. | |||
|- | |- | ||
|[[GetEquippedObject - Actor|Form '''GetEquippedObject'''(Int ''location'')]] | |[[GetEquippedObject - Actor|Form '''GetEquippedObject'''(Int ''location'')]] | ||
| Returns the object currently equipped in the specified location. | | Returns the object currently equipped in the specified location. | ||
|- | |||
|[[GetEquippedItemId - Actor|Int '''GetEquippedItemId'''(Int ''location'')]] | |||
| Returns the FormID of the currently equipped object in the specified location. | |||
|- | |- | ||
Line 776: | Line 785: | ||
|[[QueueNiNodeUpdate - Actor|'''QueueNiNodeUpdate'''()]] | |[[QueueNiNodeUpdate - Actor|'''QueueNiNodeUpdate'''()]] | ||
|Updates modifications linked to the actor. | |Updates modifications linked to the actor. | ||
|- | |||
|[[RegenerateHead - Actor|'''RegenerateHead'''()]] | |||
| Updates an Actors head mesh. | |||
|- | |- | ||
|[[EquipItemEx - Actor|'''EquipItemEx'''(Form ''item'', Int ''equipSlot'', Bool ''preventUnequip'', Bool ''equipSound'')]] | |[[EquipItemEx - Actor|'''EquipItemEx'''(Form ''item'', Int ''equipSlot'', Bool ''preventUnequip'', Bool ''equipSound'')]] | ||
|Force equips the specified item to the specified slot. | |Force equips the specified item to the specified slot. | ||
|- | |||
|[[EquipItemById - Actor|'''EquipItemById'''(Form ''item'', Int ''itemId'', Int ''equipSlot'', Bool ''preventUnequip'', Bool ''equipSound'')]] | |||
|Force equips the item with the specified FormID to the specified slot. | |||
|- | |- | ||
|[[UnequipItemEx - Actor|'''UnequipItemEx'''(Form ''item'', Int ''equipSlot'', Bool ''preventEquip'')]] | |[[UnequipItemEx - Actor|'''UnequipItemEx'''(Form ''item'', Int ''equipSlot'', Bool ''preventEquip'')]] | ||
|Force unequips the specified item at the specified slot. | |Force unequips the specified item at the specified slot. | ||
|- | |- | ||
Line 794: | Line 807: | ||
|- | |- | ||
|[[UpdateWeight - Actor|'''UpdateWeight'''()]] | |[[UpdateWeight - Actor|'''UpdateWeight'''(Float ''neckDelta'')]] | ||
| Visually updates the actors weight. | | Visually updates the actors weight. | ||
|- | |- |