2021-10-06 00:15:58 +02:00
|
|
|
scriptname _00E_FS_NQR04_TharaelAITrigger extends ObjectReference
|
|
|
|
{This script makes sure that Tharael is no longer allied to the player if they decide to leave}
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
2024-01-10 15:08:24 +01:00
|
|
|
If akActionRef == Game.GetPlayer() && FS_NQR04.GetCurrentStageID() >= 30 && FS_NQR04.GetCurrentStageID() < 35
|
2024-01-09 23:00:18 +01:00
|
|
|
_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, True, 550, 500, 100)
|
2021-10-06 00:15:58 +02:00
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
If akActionRef == Game.GetPlayer()
|
2024-01-09 23:00:18 +01:00
|
|
|
_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_FS_NQR04_TharaelREF, false)
|
2021-10-06 00:15:58 +02:00
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Actor Property _00E_FS_NQR04_TharaelREF Auto
|
|
|
|
Quest Property FS_NQR04 Auto
|