Basically, I want to be able to incriment a variable for any equipped weapon each time it is "swung" or fired to keep track of uses. Counting the hits isn't the problem, it is finding a way to store them...
In previous versions of the CK you could dynamically add a script to a reference that could store the variable, but it doesn't seem possible here.
So, my question is: How can I dynamically attach a script to a weapon I equip to track uses, that will persist so long as that reference exists (so if I put the weapon down and pick it up, it keeps the count.)
Also, will enchanting a weapon change it's reference ID and thus break this tracking?
I am honestly not sure if this is even possible... Seems like it should be though.