1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
1.3 KiB

ScriptName _00E_NQ02InvestigateBlackFeathers Extends ObjectReference
;-- Variables ---------------------------------------
Int doOnce
;-- Properties --------------------------------------
GlobalVariable Property InvestigationGlobal Auto
Message Property MessageInvestigate Auto
;-- Functions ---------------------------------------
; Skipped compiler generated GetState
; Skipped compiler generated GotoState
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
Float Investigation = InvestigationGlobal.GetValue()
If akNewContainer == Game.GetPlayer() as ObjectReference
If doOnce == 0
If Investigation < 5 as Float
Debug.Notification("Hier kleinen Erfahrungspunkte-Bonus einfügen.")
MessageInvestigate.Show(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
Investigation += 1 as Float
InvestigationGlobal.SetValue(Investigation)
doOnce = 1
ElseIf Investigation == 5 as Float
Debug.Notification("Achievement hinzu. Hier kleinen Erfahrungspunkte-Bonus einfügen.")
MessageInvestigate.Show(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
Investigation += 1 as Float
InvestigationGlobal.SetValue(Investigation)
doOnce = 1
Else
Return
EndIf
EndIf
EndIf
EndEvent