Jump to content

GetEquipped by biped slot?


Keleigh3000

Recommended Posts

Thank you kind sir. I'm going to save that doc for future reference.

 

And I see that that would be a NVSE function, GTK.

 

So to verify, would this work as a true/false? Like so:

 

if (player.GetEquippedObject 10 == 0)

      PrintC "Player is not wearing a hat"

else

     PrintC "Player is wearing a hat"

endif

 

Depening on whether the PC is wearing a hat, right?

 

EDIT: Never mind, I find that it does. Thanks again for your help.

Link to comment
Share on other sites

Yep. You can either use it to retrieve the base form of the object equipped in a slot:

set rItem to player.GetEquippedObject 10

or as a Boolean expression:

if player.GetEquippedObject 10 == 0		; Returns true if no item is currently using that slot.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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