2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_NQ29_BossSteelWatcherSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnDeath(Actor akKiller)
|
|
|
|
|
|
|
|
if !NQ29.IsRunning()
|
2024-01-10 14:08:24 +00:00
|
|
|
NQ29.SetCurrentStageID(5)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
|
|
|
|
NQ29.SetObjectiveDisplayed(__Config_iObjectiveIndex)
|
|
|
|
NQ29.SetObjectiveCompleted(__Config_iObjectiveIndex)
|
|
|
|
NQ29_MythicalCreaturesSlain.SetValue(NQ29_MythicalCreaturesSlain.GetValue() + 1)
|
|
|
|
NQ29.UpdateCurrentInstanceGlobal(NQ29_MythicalCreaturesSlain)
|
|
|
|
|
|
|
|
int CurrentCount = NQ29_MythicalCreaturesSlain.GetValueInt()
|
|
|
|
|
|
|
|
if CurrentCount >= NQ29_MythicalCreaturesMax.GetValueInt()
|
|
|
|
NQ29.SetObjectiveCompleted(0, 1)
|
2024-01-10 14:08:24 +00:00
|
|
|
NQ29.SetCurrentStageID(10)
|
2021-10-05 22:15:58 +00:00
|
|
|
Else
|
|
|
|
NQ29.SetObjectiveCompleted(0,0)
|
|
|
|
NQ29.SetObjectiveDisplayed(0, True, True)
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
int Property __Config_iObjectiveIndex Auto
|
|
|
|
|
|
|
|
GlobalVariable Property NQ29_MythicalCreaturesSlain Auto
|
|
|
|
GlobalVariable Property NQ29_MythicalCreaturesMax Auto
|
|
|
|
|
|
|
|
Quest Property NQ29 Auto
|