4
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.
 
 
 

20 lines
659 B

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