imported>CraftySentinel |
imported>SarthesArai |
(4 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| [[Category:Scripting]]
| |
| [[Category:Papyrus]]
| |
| [[Category:Script Objects]]
| |
|
| |
| '''Extends:''' [[Form Script]] | | '''Extends:''' [[Form Script]] |
|
| |
|
Line 14: |
Line 10: |
| == Member Functions == | | == Member Functions == |
|
| |
|
| {|class="wikitable" width =100%
| | :'''[[CompleteAllObjectives - Quest|CompleteAllObjectives]]()''' |
| !style="text-align:left;"|Function
| | :*Completes all a quests objectives. |
| !style="text-align:left;"|Description
| | |
| |-
| | :'''[[CompleteQuest - Quest|CompleteQuest]]()''' |
| |[[CompleteAllObjectives - Quest|'''CompleteAllObjectives'''()]]
| | :*Flags this quest as completed. |
| |Completes all a quests objectives.
| |
| |- | |
|
| |
|
| |[[CompleteQuest - Quest|'''CompleteQuest'''()]]
| | :'''[[FailAllObjectives - Quest|FailAllObjectives]]()''' |
| |Flags this quest as completed.
| | :*Flags all quest objects as failed. |
| |-
| |
|
| |
|
| |[[FailAllObjectives - Quest|'''FailAllObjectives'''()]]
| | :'''Alias [[GetAlias - Quest|GetAlias]](Int ''aiAliasID'')''' |
| |Flags all quest objects as failed.
| | :*Obtains the [[Alias Script|Alias]] attached to this quest associated with the specified ID. |
| |-
| |
|
| |
|
| |[[GetAlias - Quest|Alias '''GetAlias'''(Int ''aiAliasID'')]]
| | :'''Int [[GetCurrentStageID - Quest|GetCurrentStageID]]()''' |
| |Obtains the [[Alias Script|Alias]] attached to this quest associated with the specified ID.
| | :*Obtains the highest completed stage on this quest. |
| |-
| |
|
| |
|
| |[[GetCurrentStageID - Quest|Int '''GetCurrentStageID'''()]]
| | :'''Int [[GetStage - Quest|GetStage]]()''' |
| |Obtains the highest completed stage on this quest.
| | :*Alias for GetCurrentStageID(). |
| |-
| |
|
| |
|
| |[[GetCurrentStageID - Quest|Int '''GetCurrentStageID'''()]]
| | :'''Bool [[GetStageDone - Quest|GetStageDone]](Int ''aiStage'')''' |
| |Alias for GetCurrentStageID().
| | :*Alias for IsStageDone(). |
| |-
| |
|
| |
|
| |[[IsStageDone - Quest|Bool '''IsStageDone'''(Int ''aiStage'')]]
| | :'''Bool [[IsActive - Quest|IsActive]]()''' |
| |Alias for IsStageDone().
| | :*Is this quest "active"? (Tracked by the player). |
| |-
| |
|
| |
|
| |[[IsActive - Quest|Bool '''IsActive'''()]]
| | :'''Bool [[IsCompleted - Quest|IsCompleted]]()''' |
| |Is this quest "active"? (Tracked by the player).
| | :*Returns whether this quest is completed or not. |
| |-
| |
|
| |
|
| |[[IsCompleted - Quest|Bool '''IsCompleted'''()]]
| | :'''Bool [[IsObjectiveCompleted - Quest|IsObjectiveCompleted]](Int ''aiObjective'')''' |
| |Returns whether this quest is completed or not.
| | :*Obtains whether the specified objective is completed or not. |
| |-
| |
|
| |
|
| |[[IsObjectiveCompleted - Quest|Bool '''IsObjectiveCompleted'''(Int ''aiObjective'')]]
| | :'''Bool [[IsObjectiveDisplayed - Quest|IsObjectiveDisplayed]](Int ''aiObjective'')''' |
| |Obtains whether the specified objective is completed or not.
| | :*Obtains whether the specified objective is displayed or not. |
| |-
| |
|
| |
|
| |[[IsObjectiveDisplayed - Quest|Bool '''IsObjectiveDisplayed'''(Int ''aiObjective'')]]
| | :'''Bool [[IsObjectiveFailed - Quest|IsObjectiveFailed]](Int ''aiObjective'')''' |
| |Obtains whether the specified objective is displayed or not.
| | :*Obtains whether the specified objective is failed or not. |
| |-
| |
|
| |
|
| |[[IsObjectiveFailed - Quest|Bool '''IsObjectiveFailed'''(Int ''aiObjective'')]]
| | :'''Bool [[IsRunning - Quest|IsRunning]]()''' |
| |Obtains whether the specified objective is failed or not.
| | :*Returns whether this quest is currently running or not. |
| |-
| |
|
| |
|
| |[[IsRunning - Quest|Bool '''IsRunning'''()]]
| | :'''Bool [[IsStageDone - Quest|IsStageDone]](Int ''aiStage'')''' |
| |Returns whether this quest is currently running or not.
| | :*Checks to see if the specified stage is done or not. |
| |-
| |
|
| |
|
| |[[IsStageDone - Quest|Bool '''IsStageDone'''(Int ''aiStage'')]]
| | :'''Bool [[IsStarting - Quest|IsStarting]]()''' |
| |Checks to see if the specified stage is done or not.
| | :*Returns whether this quest is currently enabled but not running yet. |
| |-
| |
|
| |
|
| |[[IsStarting - Quest|Bool '''IsStarting'''()]]
| | :'''Bool [[IsStopping- Quest|IsStopping]]()''' |
| |Returns whether this quest is currently enabled but not running yet.
| | :*Returns whether this quest is currently not enabled anymore but still shutting down. |
| |-
| |
|
| |
|
| |[[IsStopping- Quest|Bool '''IsStopping-'''()]]
| | :'''Bool [[IsStopped- Quest|IsStopped]]()''' |
| |Returns whether this quest is currently not enabled anymore but still shutting down.
| | :*Returns whether this quest is currently fully stopped. |
| |-
| |
|
| |
|
| |[[IsStopped- Quest|Bool '''IsStopped-'''()]]
| | :'''Bool [[ModObjectiveGlobal - Quest|ModObjectiveGlobal]](Float ''afModValue'', GlobalVariable ''aModGlobal'', Int ''aiObjectiveID'', Float ''afTargetValue'', Bool ''abCountingUp'', Bool ''abCompleteObjective'', Bool ''abRedisplayObjective'')''' |
| |Returns whether this quest is currently fully stopped.
| | :*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. |
| |-
| |
|
| |
|
| |[[ModObjectiveGlobal - Quest|Bool '''ModObjectiveGlobal'''(Float ''afModValue'', GlobalVariable ''aModGlobal'', Int ''aiObjectiveID'', Float ''afTargetValue'', Bool ''abCountingUp'', Bool ''abCompleteObjective'', Bool ''abRedisplayObjective'')]]
| | :'''[[Reset - Quest|Reset]]()''' |
| |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.
| | :*Resets this quest. |
| |-
| |
|
| |
|
| |[[Reset - Quest|'''Reset'''()]]
| | :'''[[SetActive - Quest|SetActive]](Bool ''abActive'')''' |
| |Resets this quest.
| | :*Sets or clears this quest as "active". (Tracked by the player) |
| |-
| |
|
| |
|
| |[[SetActive - Quest|'''SetActive'''(Bool ''abActive'')]]
| | :'''Bool [[SetCurrentStageID - Quest|SetCurrentStageID]](Int ''aiStageID'')''' |
| |Sets or clears this quest as "active". (Tracked by the player)
| | :*Sets the quest to the requested stage, returning true if it succeeded. |
| |-
| |
|
| |
|
| |[[SetCurrentStageID - Quest|Bool '''SetCurrentStageID'''(Int ''aiStageID'')]]
| | :'''[[SetObjectiveCompleted - Quest|SetObjectiveCompleted]](Int ''aiObjective'', Bool ''abCompleted'')''' |
| |Sets the quest to the requested stage, returning true if it succeeded.
| | :*Sets whether the specified objective is completed or not. |
| |-
| |
|
| |
|
| |[[SetObjectiveCompleted - Quest|'''SetObjectiveCompleted'''(Int ''aiObjective'', Bool ''abCompleted'')]]
| | :'''[[SetObjectiveDisplayed - Quest|SetObjectiveDisplayed]](Int ''aiObjective'', Bool ''abDisplayed'')''' |
| |Sets whether the specified objective is completed or not.
| | :*Sets whether the specified objective is displayed or not. |
| |-
| |
|
| |
|
| |[[SetObjectiveDisplayed - Quest|'''SetObjectiveDisplayed'''(Int ''aiObjective'', Bool ''abDisplayed'')]]
| | :'''[[SetObjectiveFailed - Quest|SetObjectiveFailed]](Int ''aiObjective'', Bool ''abFailed'')''' |
| |Sets whether the specified objective is displayed or not.
| | :*Sets whether the specified objective is failed or not. |
| |-
| |
|
| |
|
| |[[SetObjectiveFailed - Quest|'''SetObjectiveFailed'''(Int ''aiObjective'', Bool ''abFailed'')]]
| | :'''Bool [[SetCurrentStageID - Quest|SetStage]](Int ''aiStage'')''' |
| |Sets whether the specified objective is failed or not.
| | :*Alias of SetCurrentStageID(). |
| |-
| |
|
| |
|
| |[[SetCurrentStageID - Quest|Bool '''SetCurrentStageID'''(Int ''aiStage'')]]
| | :'''Bool [[Start - Quest|Start]]()''' |
| |Alias of SetCurrentStageID().
| | :*Starts this quest. |
| |-
| |
|
| |
|
| |[[Start - Quest|Bool '''Start'''()]]
| | :'''[[Stop - Quest|Stop]]()''' |
| |Starts this quest.
| | :*Stops the quest. |
| |-
| |
|
| |
|
| |[[Stop - Quest|'''Stop'''()]]
| | :'''Bool [[UpdateCurrentInstanceGlobal - Quest|UpdateCurrentInstanceGlobal]](GlobalVariable ''aUpdateGlobal'')''' |
| |Stops the quest.
| | :*Updates the value for the given global for the quest's current instance. |
| |-
| |
|
| |
|
| |[[UpdateCurrentInstanceGlobal - Quest|Bool '''UpdateCurrentInstanceGlobal'''(GlobalVariable ''aUpdateGlobal'')]]
| |
| |Updates the value for the given global for the quest's current instance.
| |
| |-
| |
|
| |
|
| |}
| |
| == SKSE Global Functions == | | == SKSE Global Functions == |
|
| |
|
| {|class="wikitable" width =100%
| | :'''Quest [[GetQuest - Quest|GetQuest]](String ''editorID'')''' |
| !style="text-align:left;"|Function
| | :*Returns the Quest with the specified editor id. |
| !style="text-align:left;"|Description
| |
| |-
| |
| | |
| |[[GetQuest - Quest|Quest '''GetQuest'''(String ''editorID'')]]
| |
| |Returns the Quest with the specified editor id.
| |
| |-
| |
|
| |
|
| |}
| |
|
| |
|
| == SKSE Functions == | | == SKSE Functions == |
|
| |
|
| {|class="wikitable" width =100%
| | :'''String [[GetID - Quest|GetID]]()''' |
| !style="text-align:left;"|Function
| | :*Returns the editor ID of the Quest. |
| !style="text-align:left;"|Description
| |
| |-
| |
| | |
| |[[GetID - Quest|String '''GetID'''()]]
| |
| |Returns the editor ID of the Quest.
| |
| |-
| |
|
| |
|
| |[[GetPriority - Quest|Int '''GetPriority'''()]]
| | :'''Int [[GetPriority - Quest|GetPriority]]()''' |
| |Returns the priority of the Quest.
| | :*Returns the priority of the Quest. |
| |-
| |
|
| |
|
| |[[GetNumAliases - Quest|Int '''GetNumAliases'''()]]
| | :'''Int [[GetNumAliases - Quest|GetNumAliases]]()''' |
| |Returns the number of aliases associated with the Quest.
| | :*Returns the number of aliases associated with the Quest. |
| |-
| |
|
| |
|
| |[[GetNthAlias - Quest|Alias '''GetNthAlias'''(Int ''index'')]]
| | :'''Alias [[GetNthAlias - Quest|GetNthAlias]](Int ''index'')''' |
| |Returns the specified alias associated with the Quest.
| | :*Returns the specified alias associated with the Quest. |
| |-
| |
|
| |
|
| |[[GetAliasByName - Quest|Alias '''GetAliasByName'''(String ''name'')]]
| | :'''Alias [[GetAliasByName - Quest|GetAliasByName]](String ''name'')''' |
| |Returns the editor ID of the quest.
| | :*Returns the specified alias associated with the Quest. |
| |-
| |
| | |
| |}
| |
|
| |
|
| == Events == | | == Events == |
|
| |
|
| {|class="wikitable" width =100%
| | :'''[[OnStoryActivateActor - Quest|OnStoryActivateActor]](Location ''akLocation'', ObjectReference ''akActor'')''' |
| !style="text-align:left;"|Function
| | :*Sent when this quest is started by an activate actor story manager event. |
| !style="text-align:left;"|Description
| |
| |-
| |
| |[[OnReset - ObjectReference|'''OnReset'''()]]
| |
| |Event received when this quest is started up (either the first time or subsequent times - this will fire in parallel with your startup stage!).
| |
| |-
| |
|
| |
|
| |[[OnStoryActivateActor - Quest|'''OnStoryActivateActor'''(Location ''akLocation'', ObjectReference ''akActor'')]]
| | :'''[[OnStoryAddToPlayer - Quest|OnStoryAddToPlayer]](ObjectReference ''akOwner'', ObjectReference ''akContainer'', Location ''akLocation'', Form ''akItemBase'', Int ''aiAcquireType'')''' |
| |Sent when this quest is started by an activate actor story manager event.
| | :*Sent when this quest is started by an add to player story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryAddToPlayer - Quest|'''OnStoryAddToPlayer'''(ObjectReference ''akOwner'', ObjectReference ''akContainer'', Location ''akLocation'', Form ''akItemBase'', Int ''aiAcquireType'')]]
| | :'''[[OnStoryArrest - Quest|OnStoryArrest]](ObjectReference ''akArrestingGuard'', ObjectReference ''akCriminal'', Location ''akLocation'', Int ''aiCrime'')''' |
| |Sent when this quest is started by an add to player story manager event.
| | :*Sent when this quest is started by an arrest story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryArrest - Quest|'''OnStoryArrest'''(ObjectReference ''akArrestingGuard'', ObjectReference ''akCriminal'', Location ''akLocation'', Int ''aiCrime'')]]
| | :'''[[OnStoryAssaultActor - Quest|OnStoryAssaultActor]](ObjectReference ''akVictim'', ObjectReference ''akAttacker'', Location ''akLocation'', Int ''aiCrime'')''' |
| |Sent when this quest is started by an arrest story manager event.
| | :*Sent when this quest is started by an assault actor story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryAssaultActor - Quest|'''OnStoryAssaultActor'''(ObjectReference ''akVictim'', ObjectReference ''akAttacker'', Location ''akLocation'', Int ''aiCrime'')]]
| | :'''[[OnStoryBribeNPC - Quest|OnStoryBribeNPC]](ObjectReference ''akActor'')''' |
| |Sent when this quest is started by an assault actor story manager event.
| | :*Sent when this quest is started by a bribe NPC story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryBribeNPC - Quest|'''OnStoryBribeNPC'''(ObjectReference ''akActor'')]]
| | :'''[[OnStoryCastMagic - Quest|OnStoryCastMagic]](ObjectReference ''akCastingActor'', ObjectReference ''akSpellTarget'', Location ''akLocation'', Form ''akSpell'')''' |
| |Sent when this quest is started by a bribe NPC story manager event.
| | :*Sent when this quest is started by a cast magic story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryCastMagic - Quest|'''OnStoryCastMagic'''(ObjectReference ''akCastingActor'', ObjectReference ''akSpellTarget'', Location ''akLocation'', Form ''akSpell'')]]
| | :'''[[OnStoryChangeLocation - Quest|OnStoryChangeLocation]](ObjectReference ''akActor'', Location ''akOldLocation'', Location ''akNewLocation'')''' |
| |Sent when this quest is started by a cast magic story manager event.
| | :*Sent when this quest is started by a change location story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryChangeLocation - Quest|'''OnStoryChangeLocation'''(ObjectReference ''akActor'', Location ''akOldLocation'', Location ''akNewLocation'')]]
| | :'''[[OnStoryCraftItem - Quest|OnStoryCraftItem]](ObjectReference ''akBench'', Location ''akLocation'', Form ''akCreatedItem'')''' |
| |Sent when this quest is started by a change location story manager event.
| | :*Sent when this quest is started by a craft item story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryCraftItem - Quest|'''OnStoryCraftItem'''(ObjectReference ''akBench'', Location ''akLocation'', Form ''akCreatedItem'')]]
| | :'''[[OnStoryCrimeGold - Quest|OnStoryCrimeGold]](ObjectReference ''akVictim'', ObjectReference ''akCriminal'', Faction ''akFaction'', Int ''aiGoldAmount'', Int ''aiCrime'')''' |
| |Sent when this quest is started by a craft item story manager event.
| | :*Sent when this quest is started by a crime gold story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryCrimeGold - Quest|'''OnStoryCrimeGold'''(ObjectReference ''akVictim'', ObjectReference ''akCriminal'', Faction ''akFaction'', Int ''aiGoldAmount'', Int ''aiCrime'')]]
| | :'''[[OnStoryCure - Quest|OnStoryCure]](Form ''akInfection'')''' |
| |Sent when this quest is started by a crime gold story manager event.
| | :*Sent when this quest is started by a cure story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryCure - Quest|'''OnStoryCure'''(Form ''akInfection'')]]
| | :'''[[OnStoryDialogue - Quest|OnStoryDialogue]](Location ''akLocation'', ObjectReference ''akActor1'', ObjectReference ''akActor2'')''' |
| |Sent when this quest is started by a cure story manager event.
| | :*Sent when this quest is started by a dialogue story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryDialogue - Quest|'''OnStoryDialogue'''(Location ''akLocation'', ObjectReference ''akActor1'', ObjectReference ''akActor2'')]]
| | :'''[[OnStoryDiscoverDeadBody - Quest|OnStoryDiscoverDeadBody]](ObjectReference ''akActor'', ObjectReference ''akDeadActor'', Location ''akLocation'')''' |
| |Sent when this quest is started by a dialogue story manager event.
| | :*Sent when this quest is started by a discover dead body story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryDiscoverDeadBody - Quest|'''OnStoryDiscoverDeadBody'''(ObjectReference ''akActor'', ObjectReference ''akDeadActor'', Location ''akLocation'')]]
| | :'''[[OnStoryEscapeJail - Quest|OnStoryEscapeJail]](Location ''akLocation'', Form ''akCrimeGroup'')''' |
| |Sent when this quest is started by a discover dead body story manager event.
| | :*Sent when this quest is started by an escape jail story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryEscapeJail - Quest|'''OnStoryEscapeJail'''(Location ''akLocation'', Form ''akCrimeGroup'')]]
| | :'''[[OnStoryFlatterNPC - Quest|OnStoryFlatterNPC]](ObjectReference ''akActor'')''' |
| |Sent when this quest is started by an escape jail story manager event.
| | :*Sent when this quest is started by a flatter NPC story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryFlatterNPC - Quest|'''OnStoryFlatterNPC'''(ObjectReference ''akActor'')]]
| | :'''[[OnStoryHello - Quest|OnStoryHello]](Location ''akLocation'', ObjectReference ''akActor1'', ObjectReference ''akActor2'')''' |
| |Sent when this quest is started by a flatter NPC story manager event.
| | :*Sent when this quest is started by a hello story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryHello - Quest|'''OnStoryHello'''(Location ''akLocation'', ObjectReference ''akActor1'', ObjectReference ''akActor2'')]]
| | :'''[[OnStoryIncreaseLevel - Quest|OnStoryIncreaseLevel]](Int ''aiNewLevel'')''' |
| |Sent when this quest is started by a hello story manager event.
| | :*Sent when this quest is started by an increase level story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryIncreaseLevel - Quest|'''OnStoryIncreaseLevel'''(Int ''aiNewLevel'')]]
| | :'''[[OnStoryIncreaseSkill - Quest|OnStoryIncreaseSkill]](String ''asSkill'')''' |
| |Sent when this quest is started by an increase level story manager event.
| | :*Sent when this quest is started by an increase skill story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryIncreaseSkill - Quest|'''OnStoryIncreaseSkill'''(String ''asSkill'')]]
| | :'''[[OnStoryInfection - Quest|OnStoryInfection]](ObjectReference ''akTransmittingActor'', Form ''akInfection'')''' |
| |Sent when this quest is started by an increase skill story manager event.
| | :*Sent when this quest is started by an infection story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryInfection - Quest|'''OnStoryInfection'''(ObjectReference ''akTransmittingActor'', Form ''akInfection'')]]
| | :'''[[OnStoryIntimidateNPC - Quest|OnStoryIntimidateNPC]](ObjectReference ''akActor'')''' |
| |Sent when this quest is started by an infection story manager event.
| | :*Sent when this quest is started by an intimidate NPC story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryIntimidateNPC - Quest|'''OnStoryIntimidateNPC'''(ObjectReference ''akActor'')]]
| | :'''[[OnStoryJail - Quest|OnStoryJail]](ObjectReference ''akGuard'', Form ''akCrimeGroup'', Location ''akLocation'', Int ''aiCrimeGold'')''' |
| |Sent when this quest is started by an intimidate NPC story manager event.
| | :*Sent when this quest is started by a jail story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryJail - Quest|'''OnStoryJail'''(ObjectReference ''akGuard'', Form ''akCrimeGroup'', Location ''akLocation'', Int ''aiCrimeGold'')]]
| | :'''[[OnStoryKillActor - Quest|OnStoryKillActor]](ObjectReference ''akVictim'', ObjectReference ''akKiller'', Location ''akLocation'', Int ''aiCrimeStatus'', Int ''aiRelationshipRank'')''' |
| |Sent when this quest is started by a jail story manager event.
| | :*Sent when this quest is started by a kill actor story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryKillActor - Quest|'''OnStoryKillActor'''(ObjectReference ''akVictim'', ObjectReference ''akKiller'', Location ''akLocation'', Int ''aiCrimeStatus'', Int ''aiRelationshipRank'')]]
| | :'''[[OnStoryNewVoicePower - Quest|OnStoryNewVoicePower]](ObjectReference ''akActor'', Form ''akVoicePower'')''' |
| |Sent when this quest is started by a kill actor story manager event.
| | :*Sent when this quest is started by a new voice power story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryNewVoicePower - Quest|'''OnStoryNewVoicePower'''(ObjectReference ''akActor'', Form ''akVoicePower'')]]
| | :'''[[OnStoryPickLock - Quest|OnStoryPickLock]](ObjectReference ''akActor'', ObjectReference ''akLock'')''' |
| |Sent when this quest is started by a new voice power story manager event.
| | :*Sent when this quest is started by a pick lock story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryPickLock - Quest|'''OnStoryPickLock'''(ObjectReference ''akActor'', ObjectReference ''akLock'')]]
| | :'''[[OnStoryPayFine - Quest|OnStoryPayFine]](ObjectReference ''akCriminal'', ObjectReference ''akGuard'', Form ''akCrimeGroup'', Int ''aiCrimeGold'')''' |
| |Sent when this quest is started by a pick lock story manager event.
| | :*Sent when this quest is started by a pay fine story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryPayFine - Quest|'''OnStoryPayFine'''(ObjectReference ''akCriminal'', ObjectReference ''akGuard'', Form ''akCrimeGroup'', Int ''aiCrimeGold'')]]
| | :'''[[OnStoryPlayerGetsFavor - Quest|OnStoryPlayerGetsFavor]](ObjectReference ''akActor'')''' |
| |Sent when this quest is started by a pay fine story manager event.
| | :*Sent when this quest is started by a player gets favor story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryPlayerGetsFavor - Quest|'''OnStoryPlayerGetsFavor'''(ObjectReference ''akActor'')]]
| | :'''[[OnStoryRelationshipChange - Quest|OnStoryRelationshipChange]](ObjectReference ''akActor1'', ObjectReference ''akActor2'', Int ''aiOldRelationship'', Int ''aiNewRelationship'')''' |
| |Sent when this quest is started by a player gets favor story manager event.
| | :*Sent when this quest is started by a relationship change story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryRelationshipChange - Quest|'''OnStoryRelationshipChange'''(ObjectReference ''akActor1'', ObjectReference ''akActor2'', Int ''aiOldRelationship'', Int ''aiNewRelationship'')]]
| | :'''[[OnStoryRemoveFromPlayer - Quest|OnStoryRemoveFromPlayer]](ObjectReference ''akOwner'', ObjectReference ''akItem'', Location ''akLocation'', Form ''akItembase'', Int ''aiRemoveType'')''' |
| |Sent when this quest is started by a relationship change story manager event.
| | :*Sent when this quest is started by a remove from player story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryRemoveFromPlayer - Quest|'''OnStoryRemoveFromPlayer'''(ObjectReference ''akOwner'', ObjectReference ''akItem'', Location ''akLocation'', Form ''akItembase'', Int ''aiRemoveType'')]]
| | :'''[[OnStoryScript - Quest|OnStoryScript]](Keyword ''akKeyword'', Location ''akLocation'', ObjectReference ''akRef1'', ObjectReference ''akRef2'', Int ''aiValue1'', Int ''aiValue2'')''' |
| |Sent when this quest is started by a remove from player story manager event.
| | :*Sent when this quest is started by a script story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryScript - Quest|'''OnStoryScript'''(Keyword ''akKeyword'', Location ''akLocation'', ObjectReference ''akRef1'', ObjectReference ''akRef2'', Int ''aiValue1'', Int ''aiValue2'')]]
| | :'''[[OnStoryServedTime - Quest|OnStoryServedTime]](Location ''akLocation'', Form ''akCrimeGroup'', Int ''aiCrimeGold'', Int ''aiDaysJail'')''' |
| |Sent when this quest is started by a script story manager event.
| | :*Sent when this quest is started by a served time story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryServedTime - Quest|'''OnStoryServedTime'''(Location ''akLocation'', Form ''akCrimeGroup'', Int ''aiCrimeGold'', Int ''aiDaysJail'')]]
| | :'''[[OnStoryTrespass - Quest|OnStoryTrespass]](ObjectReference ''akVictim'', ObjectReference ''akTrespasser'', Location ''akLocation'', Int ''aiCrime'')''' |
| |Sent when this quest is started by a served time story manager event.
| | :*Sent when this quest is started by a trespass story manager event. |
| |-
| |
|
| |
|
| |[[OnStoryTrespass - Quest|'''OnStoryTrespass'''(ObjectReference ''akVictim'', ObjectReference ''akTrespasser'', Location ''akLocation'', Int ''aiCrime'')]]
| | == Related Fragments == |
| |Sent when this quest is started by a trespass story manager event.
| | *[[Quest Stage Fragments]] |
| |-
| |
|
| |
|
| |}
| |
|
| |
|
| == Related Fragments ==
| | [[Category:Scripting]] |
| *[[Quest Stage Fragments]]
| | [[Category:Papyrus]] |
| | [[Category:Script Objects]] |