Aller au contenu

Photo

Plot script to see if PC/NPC is clothed.


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
ladydesire

ladydesire
  • Members
  • 1 928 messages
I am working on some companion mods and am trying to figure out how to create a plot script that will enable me to branch dialogs depending on whether or not the PC or NPC are wearing anything in the chest slot; I may use this to enable non-companion NPC dialog commenting on this as well. I'm assuming that I would use GetItemInEquipSlot() but I'm stumped as to how to proceed from there.  

#2
TimelordDC

TimelordDC
  • Members
  • 923 messages
Check if the object in the Chest slot is valid using IsObjectValid. If it is valid, something's there; if not, nothing.