Koalmex Posted May 28, 2018 Share Posted May 28, 2018 I'm trying to make an Item to equip it then remove it automatically but the "UnequipItem" does not work, I do not know why, I tried everything. The rest of the script runs perfectly. Link to comment Share on other sites More sharing options...
Koalmex Posted May 28, 2018 Author Share Posted May 28, 2018 I should have usedGame.GetPlayer (). UnequipItemSlot (30) Link to comment Share on other sites More sharing options...
IsharaMeradin Posted May 28, 2018 Share Posted May 28, 2018 Its not that UnequipItem does not work, its that it most likely does not work when used in a script on the item wanting to be unequipped. If you had done the script so that it resided on a player alias and used the OnObjectEquipped event and filtered for the desired object, UnequipItem would have worked. Link to comment Share on other sites More sharing options...
Recommended Posts