Deleted32363610User Posted December 11, 2016 Share Posted December 11, 2016 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 More sharing options...
Deleted32363610User Posted December 11, 2016 Author Share Posted December 11, 2016 *FIXED* I fixed the problem with "NPCHumanHackingPasswordGood.Play(Game.GetPlayer())" If there is a more efficient or less buggy way, please suggest it. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts