LegoManIAm94 Posted December 24, 2009 Author Share Posted December 24, 2009 When I do the set weather or forceweather will it change the next day or will it do what I command it to do forever. Link to comment Share on other sites More sharing options...
DavidBudreck Posted December 24, 2009 Share Posted December 24, 2009 If you do not add the optional weatherOverride parameter, the weather will change natually the next time Oblivion decides it's time. If you DO include the override flag, the weather will remain in force until the player does something that causes a reset, like fast travelling, being moved by a script, entering an Oblivion Gate, etc. In the last case, as the player approaches the gate, the gate's script will override your override in favor of making an Oblivion Storm. However, if you then issue ForceWeather again, you override their override. Basically, and this is true throughout Oblivion, the last action, or the last mod loaded wins. Link to comment Share on other sites More sharing options...
LegoManIAm94 Posted December 25, 2009 Author Share Posted December 25, 2009 I know for morrowind there is a command called random. Here is an example if (random < 50) Is there something like that for Oblivion. Link to comment Share on other sites More sharing options...
DavidBudreck Posted December 25, 2009 Share Posted December 25, 2009 GetRandomPercent http://cs.elderscrolls.com/constwiki/index...etRandomPercent A related article http://cs.elderscrolls.com/constwiki/index...sistent_Objects Link to comment Share on other sites More sharing options...
LegoManIAm94 Posted December 25, 2009 Author Share Posted December 25, 2009 Is there a way to tell if your near a Oblivion gate, and if you change world speces like cellchanged, or even like a way to tell where you are in the world by x, y, z position. Link to comment Share on other sites More sharing options...
DavidBudreck Posted December 25, 2009 Share Posted December 25, 2009 No. Any X, Y, Z position are coordinates within a given cell, NOT the worldspace. Like I have been saying, unless OBSE has some function, which would be really cool, you cannot tell where the character is within a worldspace. You can tell -IF- the player is within any Interior cell, or -IF- within the exterior of any given Worldspace, but not WHERE within that worldspace the player is. Oblivion Gates use distance from them to trigger their weather, but distance, and activators, only work within the same cell. Each Oblivion Gate takes care of itself and sets it's own weather when the player is near; there is no master script that takes care of them all (technically it is one script, but it attached to each of the gates individually). Link to comment Share on other sites More sharing options...
LegoManIAm94 Posted December 26, 2009 Author Share Posted December 26, 2009 I have now finish my mod. It is called Weather Spells. Check it out if you want. Link to comment Share on other sites More sharing options...
DavidBudreck Posted December 26, 2009 Share Posted December 26, 2009 Thank you. I have downloaded and will take a look at it when I get a few minutes. Congratulations on finishing your mod! Link to comment Share on other sites More sharing options...
Recommended Posts