Jump to content

Script Help


lordneverar

Recommended Posts

I need to know a script that I could use to make a static world object disappear at night and reappear during the day. Could someone help?

Depends on the object and the situation. Are we talking about something like a building, or something like street lights? Are you only planning to do this with one object, or several? Is it quest related, or can you place something like a small activator nearby to run the scripting?

Link to comment
Share on other sites

I need to know a script that I could use to make a static world object disappear at night and reappear during the day. Could someone help?

Depends on the object and the situation. Are we talking about something like a building, or something like street lights? Are you only planning to do this with one object, or several? Is it quest related, or can you place something like a small activator nearby to run the scripting?

 

Well Ive always noticed in Oblivion that no light ever streamed through the trees so i was going to take the sun stream thing (i forget the editor id) and attach a script so that it only was there during the day and disappeared or faded away as the sun went down. Also I thought it would b better if when it was cloudy that they wouldnt b there as well. I know how I could do it with conditions I think. But I dont know how to make it into a script. could you help?

Link to comment
Share on other sites

Well Ive always noticed in Oblivion that no light ever streamed through the trees so i was going to take the sun stream thing (i forget the editor id) and attach a script so that it only was there during the day and disappeared or faded away as the sun went down. Also I thought it would b better if when it was cloudy that they wouldnt b there as well. I know how I could do it with conditions I think. But I dont know how to make it into a script. could you help?

Since these are alot of replicated things, your best bet is to make a new activator which is linked to the same .nif. Then attach a script to that activator. The actual script would probably be the reverse of the streetlight script, you can adjust the basic script and add a condition based on "iscloudy" to disable it. I don't happen to have the CS open to copy and paste the script here. But believe all you need to do is create a script with the same exact stuff, just switch disable with enable, and vise versa.

Link to comment
Share on other sites

Well Ive always noticed in Oblivion that no light ever streamed through the trees so i was going to take the sun stream thing (i forget the editor id) and attach a script so that it only was there during the day and disappeared or faded away as the sun went down. Also I thought it would b better if when it was cloudy that they wouldnt b there as well. I know how I could do it with conditions I think. But I dont know how to make it into a script. could you help?

Since these are alot of replicated things, your best bet is to make a new activator which is linked to the same .nif. Then attach a script to that activator. The actual script would probably be the reverse of the streetlight script, you can adjust the basic script and add a condition based on "iscloudy" to disable it. I don't happen to have the CS open to copy and paste the script here. But believe all you need to do is create a script with the same exact stuff, just switch disable with enable, and vise versa.

ok lol ill try to follow those instructions even though i know almost nothing about scripting..

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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