[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "MessageBox Tutorial"
Jump to navigation
Jump to search
→Applying it all: Moved set Working to top to stop infinite looping
imported>Haama (→Example script: Moved set Working to top to prevent infinite loops) |
imported>Haama (→Applying it all: Moved set Working to top to stop infinite looping) |
||
Line 566: | Line 566: | ||
Begin GameMode ;Running menus in both GameMode and MenuMode | Begin GameMode ;Running menus in both GameMode and MenuMode | ||
If Working | If Working | ||
Set Working to 1 | |||
If (Choosing == 0) | If (Choosing == 0) | ||
Set GMRun to 0 | Set GMRun to 0 | ||
Line 606: | Line 608: | ||
Set Choosing to 0 | Set Choosing to 0 | ||
Endif | Endif | ||
Endif | Endif | ||
End | End | ||
Line 614: | Line 615: | ||
Begin MenuMode | Begin MenuMode | ||
If Working | If Working | ||
Set Working to 1 | |||
If (Choosing == 0) | If (Choosing == 0) | ||
Set GMRun to 0 ;Running menus in both GameMode and MenuMode | Set GMRun to 0 ;Running menus in both GameMode and MenuMode | ||
Line 712: | Line 715: | ||
endif | endif | ||
Endif | Endif | ||
Endif | Endif | ||
End</pre> | End</pre> | ||
[[Category: Scripting Tutorials]] | [[Category: Scripting Tutorials]] |