OnUse in object script

Post » Tue Feb 08, 2011 8:19 pm

Hello,

How can i trigger a scrit on use in a object script? I have a food/chem item and i want to trigger something when the player use the say item from the inventory. I tried onActivate and onEquip but no effect...

Thanks
User avatar
Nick Tyler
 
Posts: 3437
Joined: Thu Aug 30, 2007 8:57 am

Post » Tue Feb 08, 2011 4:13 pm

Hello,

How can i trigger a scrit on use in a object script? I have a food/chem item and i want to trigger something when the player use the say item from the inventory. I tried onActivate and onEquip but no effect...

Thanks


Unless I'm mistaken, with ingestibles, you have to use a base effect that calls a script with the desired effects.
User avatar
Amysaurusrex
 
Posts: 3432
Joined: Wed Aug 09, 2006 2:45 pm


Return to Fallout: New Vegas