2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_FS_NQR01_PlayerArenaSC extends ReferenceAlias
|
|
|
|
|
|
|
|
Event OnUpdate()
|
|
|
|
|
|
|
|
bReady = True
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
2024-08-07 17:07:53 +00:00
|
|
|
;/
|
|
|
|
; Disabled, currently broken
|
2021-10-05 22:15:58 +00:00
|
|
|
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
|
|
|
|
|
|
|
|
If _00E_FS_NQR01_CurrentlyInCombat.GetValueInt() == 0 && bReady
|
|
|
|
|
|
|
|
if Utility.RandomInt(1, 100 ) >= 50
|
|
|
|
|
|
|
|
if _00E_FS_NQR01_IsCommentatorTalking.GetValueInt() == 0
|
|
|
|
|
|
|
|
Arena_Battle_Commentator.GetActorReference().Say(FS_NQR01_D07_CommentatorBranchTopic_Hit)
|
|
|
|
_00E_FS_NQR01_IsCommentatorTalking.SetValueInt(1)
|
|
|
|
bReady = False
|
|
|
|
RegisterForSingleUpdate(10)
|
|
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
2024-08-07 17:07:53 +00:00
|
|
|
/;
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
bool bReady = True
|
|
|
|
|
|
|
|
Topic Property FS_NQR01_D07_CommentatorBranchTopic_Hit Auto
|
|
|
|
|
|
|
|
GlobalVariable Property _00E_FS_NQR01_IsCommentatorTalking Auto
|
|
|
|
GlobalVariable Property _00E_FS_NQR01_CurrentlyInCombat Auto
|
|
|
|
|
|
|
|
ReferenceAlias Property Arena_Battle_Commentator Auto
|