Jump to content

Play sound with terminal


Recommended Posts

I am trying to turn lights on an off with a terminal.

 

I can successfully turn lights on and with an enable marker and the fragments: "EnableMarker.enable()" and "EnableMarker.disable()".

 

I wanted to add the sound "NPCHumanHackingPasswordGood". This is the sound when the player successfully hacks a terminal, but I thought it sounded nice so I'm using it when the player turns on the lights. I added "NPCHumanHackingPasswordGood" as a 'Sound' property and typed the following fragment: "NPCHumanHackingPasswordGood.play()". This does not work. What should I type instead of ".play()"? I also tried ".play(self)"

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...