22 lines
649 B
Plaintext
22 lines
649 B
Plaintext
|
Scriptname _00E_MQ15_CompanionFailsaveSC extends ReferenceAlias
|
||
|
|
||
|
Event OnCombatStateChanged(Actor akTarget, Int aeCombatState)
|
||
|
|
||
|
if akTarget == _00E_MC_TealorREF || akTarget == _00E_MC_YuslanREF || akTarget == MQ15.akCompanion
|
||
|
MQ15.akCompanion.StopCombat()
|
||
|
MQ15.akCompanion.StopCombatAlarm()
|
||
|
_00E_MC_TealorREF.StopCombat()
|
||
|
_00E_MC_TealorREF.StopCombatAlarm()
|
||
|
_00E_MC_YuslanREF.StopCombat()
|
||
|
_00E_MC_YuslanREF.StopCombatAlarm()
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
_00E_MQ15_Functions Property MQ15 Auto
|
||
|
|
||
|
Actor Property _00E_MC_TealorREF Auto
|
||
|
Actor Property _00E_MC_YuslanREF Auto
|
||
|
Actor Property _00E_MC_LeoraREF Auto
|
||
|
Actor Property _00E_MC_JesparREF Auto
|