SoulMasterFinnigan Posted February 15, 2023 Share Posted February 15, 2023 How would I go about making an activator link to a vendor, and how would i make warm drinks cold like the buddy fridge Link to comment Share on other sites More sharing options...
SoulMasterFinnigan Posted February 15, 2023 Author Share Posted February 15, 2023 Let me expand a bit , I am building a mod with a ton of player homes scattered throughout the game, So far its going well But I would like to be able to access a vendor from all spots without making a new vendor for each one sort of like how the commissary terminals worked in NV Link to comment Share on other sites More sharing options...
DieFeM Posted February 15, 2023 Share Posted February 15, 2023 Attach a new script to the activator, and append this code: Actor Property ActorRef Auto Const Event OnActivate(ObjectReference akActionRef) ActorRef.ShowBarterMenu() EndEvent Save it, and then go to the properties and fill the ActorRef with the actor that will act as your unique merchant for all your activators. It will just open their merchant container, with no dialogue. Link to comment Share on other sites More sharing options...
SoulMasterFinnigan Posted February 15, 2023 Author Share Posted February 15, 2023 Thank you :) Link to comment Share on other sites More sharing options...
SoulMasterFinnigan Posted February 15, 2023 Author Share Posted February 15, 2023 Thank you , the vendor menu comes up although without any caps or all the items in the list :/ Could that code be used in a similar manner to connect all player home containers to a centralised one ? Link to comment Share on other sites More sharing options...
DiodeLadder Posted February 16, 2023 Share Posted February 16, 2023 Thank you , the vendor menu comes up although without any caps or all the items in the list :/ Could that code be used in a similar manner to connect all player home containers to a centralised one ? Make sure the vendor NPC is properly set up with a merchant faction. Take a look at how the other vendor NPCs are set up in the vanilla game, and see if you missed anything. :smile: As for the container, yes, it's the same approach. Set up a container NIF as an activator and make it target the actual container : ObjectReference Property TargetContainer Auto Const Event OnActivate(ObjectReference akActionRef) If (akActionRef == Game.GetPlayer()) TargetContainer.Activate(akActionRef) EndIf EndEvent Link to comment Share on other sites More sharing options...
SoulMasterFinnigan Posted February 16, 2023 Author Share Posted February 16, 2023 When I access the Shopping Intercom , It goes to the container which is linked to the vendor I made it just doesn't show the entire menu i put in and has 0 caps to spend lol Link to comment Share on other sites More sharing options...
Recommended Posts