MaiThanhLong Posted October 23, 2018 Share Posted October 23, 2018 I'm trying to create a script that add a item or weapon when player equips a armor or armor pieceAt this morning, the script was working fine, it didn't work after i made some changes, and i restored it back to the previous one, but still, didn't work at allHere's the script Scriptname bronzescoutwristblade extends ObjectReference WEAPON Property PredatorInvisibleShortWristblade Auto Event OnEquipped(Actor AkActor)Game.GetPlayer().AddItem(PredatorInvisibleShortWristblade)EndEvent Event OnUnequipped(Actor AkActor)Game.GetPlayer().RemoveItem(PredatorInvisibleShortWristblade)EndEvent Link to comment Share on other sites More sharing options...
Shivzz0119 Posted October 23, 2018 Share Posted October 23, 2018 Did you try loading from a save that you had before you made the changes? Link to comment Share on other sites More sharing options...
JonathanOstrus Posted October 23, 2018 Share Posted October 23, 2018 First, in CK did you verify that the weapon is actually assigned to the property on the script for the armor record?Second, if you're using a save where the armor already has been spawned, delete the armor and spawn a new one. Preferably start with a new game, like coc to QASmoke and spawn the armor to test. Or at the very least a save where the mod has never been enabled when it was saved. Link to comment Share on other sites More sharing options...
Recommended Posts