Also, I'd like to be able to store some configuration variables selected by the player. I think in geck I would have used quest variables, but that does not seem to be an option now. Do I use globals?
ScriptName YourQuestScript Extends Quest ConditionalActor Property PlayerREF AutoBool Property bYourBool Auto ConditionalSpell Property YourSPEL AutoEvent OnInit() PlayerREF.AddSpell(YourSPEL)EndEvent...to a quest with its http://www.creationkit.com/Quest_Data_Tab flags ticked and the spell will be added.
YourQuestScript Property QuestScript AutoEvent SomeEvent() QuestScript.bYourBool = TrueEndEventThe 'Conditional' keywords are not necessary for a script to manipulate the variable.
ScriptName YourQuestScript Extends Quest Conditional Actor Property PlayerREF Auto Bool Property bYourBool Auto Conditional Spell Property YourSPEL Auto Event OnInit() PlayerREF.AddSpell(YourSPEL) EndEvent...to a quest with its http://www.creationkit.com/Quest_Data_Tab flags ticked and the spell will be added.