Jump to content

What's wrong with this script?


15gudasc

Recommended Posts

the references i am trying to disable and enable are sound references that play "AMBNVDLC02ThunderDis1", along with Activators called "NVDLC02RainUp2". They all have the same parent, which is the THUNDER01ref.

 

I'm trying to make a script that enables the THUNDER01ref at 6:00 A.M. (in-game time) and disables it at 10:00 P.M. When the THUNDER01ref is enabled and disabled, it should enable and disable all it's "children" because it is an Enabled Parent. It is supposed to enable and disable the sound references and activators I mentioned earlier.

 

When I go into the game and disable the THUNDER01ref with console commands, all the Activators and Sound references dissapear, so I think that the problem just lies with getting them to turn off at the proper times.

Edited by 15gudasc
Link to comment
Share on other sites

If I were doing this I'd be making the script a "quest script" rather than an "object script" and, unless I'm mistaken and I apologise if I am, you've not done that. If you make a quest and, unless you want this to have a specific trigger to make it start working, tick the "Start game enabled" box then link your script to it, I imagine that it'll work. Hope this helps! :)
Link to comment
Share on other sites

Thanks guys! I was finally able to get it working! You've all made this mod I'm working on a lot more exciting to work on because I have an important part of the atmospheric effect done! Thanks! =)
Link to comment
Share on other sites

  • Recently Browsing   0 members

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