Inheritance Tree
| Script | Extended By | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| — | |||||||||
| |||||||||
| |||||||||
|
Properties
Events
Functions
Mods a global variable in a threadsafe way. Optional parameters allow automatic redisplay and completion (or failure) of a quest objective using this global variable.
Flags all objectives on this quest as complete.
Flags this quest as completed.
Flags all objectives on this quest as failed.
Obtains the highest completed stage in this quest.
Obtains whether the specified quest stage is done or not.
A stage is "done" if it has ever been visited with the Quest.SetCurrentStageID(...) or Quest.SetCurrentStageID(...) functions.
GetStageDone is an alias for IsStageDone.
Checks to see if this quest is completed.
Obtains whether the specified quest objective is completed or not.
Obtains whether the specified quest objective is displayed or not.
Obtains whether the specified quest objective is failed or not.
Obtains whether the specified quest stage is done or not.
A stage is "done" if it has ever been visited with the Quest.SetCurrentStageID(...) or Quest.SetCurrentStageID(...) functions.
GetStageDone is an alias for IsStageDone.
Checks to see if this quest is in the process of starting up.
Checks to see if the quest is not enabled anymore but still shutting down
Attempts to set the quest's current stage. If the stage exists, and was successfully set, the function returns true. Otherwise, the function returns false and the stage is unchanged. Is latent and will wait for the quest to start if it has to start the quest. If the stage has any fragments attached to it, the function will also wait for those fragments to finish running before returning.
Sets whether the specified quest objective is completed or not.
Sets whether the specified quest objective is displayed or not.
Sets whether the specified quest objective is failed or not.
NOTE: This function does not work if called from a stage fragment script that is marked as "Complete Quest" or "Fail Quest".
Attempts to set the quest's current stage. If the stage exists, and was successfully set, the function returns true. Otherwise, the function returns false and the stage is unchanged. Is latent and will wait for the quest to start if it has to start the quest. If the stage has any fragments attached to it, the function will also wait for those fragments to finish running before returning.
Attempts to update the stored value of the given global in the instance data for the quest's current instance. The function only returns false on failure which can be caused by calling the function when there is no active instance on the quest or by passing a global not in the quest's text global list.
- Found in:
- SKSE
returns the number of aliases associated with the quest
- Found in:
- SKSE
Assuming the code below is a quest script getting it's own aliases.
int idx = self.GetNumAliases()
while idx > 0
idx -= 1
Alias nthAlias = self.GetNthAlias(idx) as Alias
; LocationAlias or ReferenceAlias
if nthAlias
; do stuff
endIf
endWhile
- Found in:
- SKSE
Obtains the alias with the specified name that is attached to this quest. This is the name appearing in the Alias Name field of the Reference Alias form.
- Found in:
- SKSE
returns the alias by AlisID
- Found in:
- SKSE
Returns all the aliases of this quest
