2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_NQ_G_02_MushroomOnHit extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; FUNCTIONS
|
|
|
|
;=====================================================================================
|
|
|
|
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If (akAggressor == PlayerREF) && ((NQ_G_02.GetCurrentStageID() == 20 || NQ_G_02.GetCurrentStageID() == 30)) && (bDone == False)
|
2021-10-05 22:15:58 +00:00
|
|
|
bDone = True
|
|
|
|
NQ_G_02.SetObjectiveCompleted(21)
|
|
|
|
NQ_G_02.StartSC02()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
bool bDone
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
2021-10-05 22:22:24 +00:00
|
|
|
_00E_NQ_G_02_Functions Property NQ_G_02 Auto
|