Difference between revisions of "Talk:Global Scripts"

Jump to navigation Jump to search
560 bytes added ,  17:57, 19 October 2006
scripts running in GameMode and MenuMode
imported>GuidoBot
(New topic: issue reloading games without restarting OB)
imported>DragoonWraith
(scripts running in GameMode and MenuMode)
Line 64: Line 64:
: Most of the time, there's no need to run the GameMode code in the MenuMode block because when you're in MenuMode, there's no passage of time and thus no real need to affect the game world. --[[User:JT|JT]] 18:10, 19 October 2006 (EDT)
: Most of the time, there's no need to run the GameMode code in the MenuMode block because when you're in MenuMode, there's no passage of time and thus no real need to affect the game world. --[[User:JT|JT]] 18:10, 19 October 2006 (EDT)
::(interrupted while trying to say somethign similar.) You can put a flag in the MenuMode block such that when back in GameMode it wil pick it up. You can also change fQuestDelayTime to make it pick up the flag change quicker. Not sure if this helps (?) [[User:GuidoBot|GuidoBot]] 18:13, 19 October 2006 (EDT)
::(interrupted while trying to say somethign similar.) You can put a flag in the MenuMode block such that when back in GameMode it wil pick it up. You can also change fQuestDelayTime to make it pick up the flag change quicker. Not sure if this helps (?) [[User:GuidoBot|GuidoBot]] 18:13, 19 October 2006 (EDT)
::[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=2>D</font>ragoon <font face="Oblivion,Daedric Runes" size=2>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 18:57, 19 October 2006 (EDT): This was an issue for me from when I first saw this Wiki (i.e. before Oblivion was even released), and as soon as I had the CS I tried writing a script that read "Begin GameMode || MenuMode" and it compiled without a complaint. I've never had a need for this, so I've never tested it... Might be worth checking.


----
----
New topic: When restoring a game using Quickload (or load of Quicksave) it seems many things with more complicated scripts to not reload their global variables correctly. If you restart OB and load however all will seem fine for the same save game. This could be more general but I've experienced it will MODs just using justing quest scripts. Does anyone have any more input on this? Is it because the quest is resetting in some way, in which case can it be avoided/detected? The fact you can reload after restarting OB suggests this is truely a bug in OB. [[User:GuidoBot|GuidoBot]] 18:19, 19 October 2006 (EDT)
New topic: When restoring a game using Quickload (or load of Quicksave) it seems many things with more complicated scripts to not reload their global variables correctly. If you restart OB and load however all will seem fine for the same save game. This could be more general but I've experienced it will MODs just using justing quest scripts. Does anyone have any more input on this? Is it because the quest is resetting in some way, in which case can it be avoided/detected? The fact you can reload after restarting OB suggests this is truely a bug in OB. [[User:GuidoBot|GuidoBot]] 18:19, 19 October 2006 (EDT)

Navigation menu