I've got some problems with scripts being applied on crafted items..
This is the scenario :
- I create a new weapon, don't put any stat on it, no model/icon either, not the point.
- I create an Object Script on top of it, with only an OnEquip block, showing a dummy Message when the item is equipped.
- I make a RECIPE with this particular weapon as Output.
Now this is where i got troubles. In game, i'm crafting my weapon, it shows in my inventory, I equip it, and.... nothing. Msg don't show, script don't run. Now I throw my weapon out of my inventory, pick it up again, and that's it, the script is working when I now equip the weapon.
I tested some other ways to do the same thing I want, like : having a quest always running, checking if Player has this WeaponID in his inventory (with a Begin Menumode and GetItemCount). He doesn't, until i throw it and pick it up again. Also checked if OnAdd was working instead of OnEquip, not the case either. And so on....
Yea so.. Anyone knows why it's doing this? Why crafted weapons don't execute scripts until I get rid of them and take them again?
Thanks! This is for my Bear Trap mod, as some people have been asking me to make them craftable
