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.
 
 
 

33 lines
750 B

Scriptname _00E_MQ11a_KnockDownBoxSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if (akActionRef == PlayerREF) && (Done == False)
Done = True
KnockOut()
EndIf
EndEvent
Function KnockOut()
Game.DisablePlayerControls()
Game.SetPlayerAIDriven(True)
_00E_NPCKillBodyfall.Play(PlayerREF)
GetHit.Apply()
Self.KnockAreaEffect(1, 512)
StaggerPushFFSelfAreaSP.Cast(PlayerREF, PlayerREF)
Game.ShakeCamera()
MQ11a.SetStage(160)
Utility.Wait(1)
Game.EnablePlayerControls()
Game.SetPlayerAIDriven(False)
EndFunction
bool Done
Spell Property StaggerPushFFSelfAreaSP Auto
Actor Property PlayerREF Auto
ImageSpaceModifier Property GetHit Auto
Sound Property _00E_NPCKillBodyfall Auto
Quest Property MQ11a Auto