Jump to content

Target's equipment slot <x> equiped / unequiped


csirgli

Recommended Posts

Hi all,

 

I was pokig around creation kit / papyrus, when met an issue.

I need an event for the following, but failed to find one yet.

 

how to trigger an action for :

My target's certain eqipment slot getting empty / populated (not by add or remove item, but if equip / unequip)

 

I have figured the below out

ObjectReference Property CurrentTarget Auto
int ItemSlot = 30 {30 - head slot}

Actor CurrentTarget."what_is_in_slot(ItemSlot)" 
{making the item at the target's Slot 30 to be the actor from now on}
{where "what_is_in_slot(ItemSlot)" is an unknown syntax to pinpoint slot X's content}

Event OnUnEquip(Actor akActor)
    {insert whatever you wish to happen}
endEvent

I have found out recently each item has a category, like "Helmet"; the trick here, some mod's helmnet is actually not in the head slot (circlets ...), so this is not really good for me. (unless the Helmet actually means slot 30, which i doubt)

 

Also it is useless if nothing is in slot 30 (so it can not detect if something equiped over nothing)

Edited by csirgli
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...