Resource gathering script help

Post » Sat Sep 18, 2010 1:23 am

I am trying to make a script to put on an object, that when struck by a set of items, will yield an item in return.

The script is easy enough for a single item, IE a pickaxe on a rock, but I want to have different variants of picks. So looking though the script commands, I see OnHitWith would work as I can use a form list to set the applicable items for gathering, however, I am unsure oh how i can split that list within the script to allow me to set different gathering success rates for each item.

Any help is appreciated.

Example setup:
Begin OnHitWith FormListIDIf Pick#1-code-ElseIf Pick#2-code-...etc

User avatar
Charles Weber
 
Posts: 3447
Joined: Wed Aug 08, 2007 5:14 pm

Post » Sat Sep 18, 2010 8:29 am

Never mind. I can check which item is equipped.
User avatar
BlackaneseB
 
Posts: 3431
Joined: Sat Sep 23, 2006 1:21 am


Return to Fallout: New Vegas