
Try this:Eleven Warrior wrote:Thank you Jkos for the helpHow would I add a onPickUp hook to this dagger so when the party picks it up it will do a hudPrint etc...
Code: Select all
fw.script:set('my_item@item.mymod.onPickUpItem',function()
hudPrint("picked up")
end)