Jump to content

Scripting How do u unref a ref you set using GetEquippedObject


dedmax

Recommended Posts

I have a spell set to reference the targets boots and replace them.

set Foot to Targetref.GetEquippedObject 5

targetref.removeitemns Foot 1

targetref.additemns Foot 1

targetref.Equipitemns Foot

If i use the same spell again on a new target and they are not

wearing boots the previous targets boots will get equipped.

How can i get the spell to forget the previous foot ref or reset

foot to be non referenced.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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