User:Niaht/Notes

From the Oblivion ConstructionSet Wiki
< User:Niaht
Revision as of 01:06, 27 December 2007 by imported>Niaht
Jump to navigation Jump to search

So far everything here really refers to Quest Scripts. I'm in the process of creating some testing packages, and since I just want the scripts to run at start...

Scripting

Functions

MessageBox: This function is blocking, so why did multiple successive message boxes in a single Quest script not appear?

Now I've managed to make a messagebox come up without the mouse cursor. The game continued on. I had to enter the console to be able to click the messagebox. Hitting escape also wouldn't display the mouse cursor.

Category:Variables

Variables are declared outside the scope of a Block (or event handler) (Begin [BlockName]). We "Set" them inside a block.

What happens to them after that? If the block is run again, the variables will be re-set (not reset)?. If you wrap your Set in a conditional, do the variables retain their values after being set once? What happens when the game is restarted?

Quest

Blocks

GameMode

Quest Functions

StopQuest - Modifies Player? (e.g. will set a variable in the savegame if saved)