20 lines
659 B
Plaintext
20 lines
659 B
Plaintext
|
Scriptname _00E_MQ11c_NPCOorbayaLauncherScr extends ObjectReference
|
||
|
|
||
|
Event OnInit()
|
||
|
self.PlaceAtMe(_00E_NPCOorbayaUnleashHeavenExplosion, 1)
|
||
|
if _00E_MQ11c_PlayerIsSafe.GetValueInt() == 1
|
||
|
;Do Nothing
|
||
|
Else
|
||
|
if (PlayerREF.GetActorValue("Health") < (PlayerREF.GetActorValue("Health")*0.5))
|
||
|
Debug.Notification("Sucht Schutz hinter einer Mauer!")
|
||
|
EndIf
|
||
|
_00E_NPCOorbayaUnleashHeavenTouch.Cast(self, PlayerREF)
|
||
|
EndIf
|
||
|
Game.ShakeCamera(afstrength = 1.0)
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Actor Property PlayerREF Auto
|
||
|
Explosion Property _00E_NPCOorbayaUnleashHeavenExplosion Auto
|
||
|
Spell Property _00E_NPCOorbayaUnleashHeavenTouch Auto
|
||
|
GlobalVariable Property _00E_MQ11c_PlayerIsSafe Auto
|