Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
26 lines
1005 B
26 lines
1005 B
3 years ago
|
Scriptname _00E_NQ_G_02_MushroomOnHit extends ObjectReference
|
||
|
|
||
|
Import _00E_QuestFunctions
|
||
3 years ago
|
|
||
3 years ago
|
;=====================================================================================
|
||
|
; FUNCTIONS
|
||
|
;=====================================================================================
|
||
|
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
|
||
|
|
||
3 years ago
|
If (akAggressor == PlayerREF) && ((NQ_G_02.GetStage() == 20 || NQ_G_02.GetStage() == 30)) && (bDone == False)
|
||
3 years ago
|
bDone = True
|
||
|
NQ_G_02.SetObjectiveCompleted(21)
|
||
|
NQ_G_02.StartSC02()
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
;=====================================================================================
|
||
|
; PROPERTIES
|
||
|
;=====================================================================================
|
||
|
bool bDone
|
||
|
|
||
|
Actor Property PlayerREF Auto
|
||
|
|
||
3 years ago
|
_00E_NQ_G_02_Functions Property NQ_G_02 Auto
|