SmokeyGum Posted May 17, 2015 Share Posted May 17, 2015 Ok, remember in Fallout 3 how you can purchase ammo for the Mesmetron from Grouse at Paradise Falls through conversation and not going into "shop mode"? I have been trying to mimic that procedure, but I have accomplished nothing. I even went as far as to purchase Fallout 3 to look at the original code, but still nothing. Can someone please point me in the right direction on how to do this or explain in detail on how to recreate it? Thank you. Link to comment Share on other sites More sharing options...
tomm434 Posted May 17, 2015 Share Posted May 17, 2015 It's easy - you make dialogue for each item. Then in dialougue script write these lines PlayerRef.RemoveItem caps001 10 ; remove 10 caps PlayerRef.AddItem MyItem 1 ; add 1 item Link to comment Share on other sites More sharing options...
madmongo Posted May 19, 2015 Share Posted May 19, 2015 You should also check to make sure that the player has enough caps using a dialog condition. Otherwise the above script will still give you the item even if you only have 3 caps in your inventory (it will remove those 3 and leave you with 0). Link to comment Share on other sites More sharing options...
Recommended Posts