Jump to content


need some help with a vending machine

fo4 creationkit vending machine tutorial help

  • Please log in to reply
3 replies to this topic




  • Members
  • Pip
  • 7 posts

so i'm making a shelter and i have some vending machine models, however i have no idea how to get them to work.
Does anyone by any chance have a script to automatically open a store when you interact with an object? (as with regular FO4 vendors)


(this is the vending machine model)




    Resident poster

  • Premium Member
  • 5,251 posts

Since they are not actors it might not be possible. But there are some simple container scripts that could work. Or even better using a messagebox



    Old hand

  • Supporter
  • 572 posts

Hello redfandango,


As Zorkaz said, the barter menu is tied to actors but what you can do is to create a dummy NPC whose sole purpose is to act as a vendor when your vending machine is activated.


1. Create a dummy vendor NPC and a vendor faction.




(I have the "essential" and "unique" boxes ticked here, but this is completely unnecessary.)


2. Create a dummy interior cell to house this dummy NPC vendor and the vendor chest.




The cell doesn't have to be functional. Just something to hold the NPC and the chest.


3. Create an activator to access this dummy vendor NPC.




The vendor NPC and the activator share the same name for consistency when bringing up the barter menu.


4. Attach a script to this activator.




This script example plays a sound FX, and then opens a barter menu with the dummy vendor NPC.  I think I had to disable player control while the sound FX played so that the player won't move once it is activated.


Once this thing is activated in game, it will directly show the barter menu associated with the dummy NPC.


I hope this helps.

Edited by DiodeLadder, 07 September 2021 - 03:02 am.




  • Premium Member
  • 197 posts

You may explore Talking Activator


AFK. I think interactable intercoms etc. are TalkingActivators.


Add a voice type and you can use the the TalkingActivator for quest/dialogue.


Also, as everything activator I think the nif must have collision data in order for the activation to work.





Skyrim (some more info):


Also tagged with one or more of these keywords: fo4, creationkit, vending machine, tutorial, help

IPB skins by Skinbox
Page loaded in: 0.338 seconds