32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
|
Scriptname _00E_MQ13c_SC09_CapsuleActSC extends ObjectReference Conditional
|
||
|
|
||
|
;=====================================================================================
|
||
|
; EVENTS
|
||
|
;=====================================================================================
|
||
|
|
||
|
Event OnActivate(ObjectReference akActionRef)
|
||
|
|
||
|
if !bDone && akActionRef == Game.GetPlayer()
|
||
|
MQ13c.akCompanionRomance.MoveTo(MQ13c_SC09_RomanceChairREF)
|
||
|
MQ13c.akCompanionNoRomance.MoveTo(MQ13c_SC09_NoRomanceChairREF)
|
||
|
MQ13c.akCompanionNoRomance.StopCombat()
|
||
|
MQ13c.akCompanionNoRomance.StopCombatAlarm()
|
||
|
MQ13c.akCompanionRomance.StopCombat()
|
||
|
MQ13c.akCompanionRomance.StopCombatAlarm()
|
||
|
MQ13c.MQ13c_SC09_PlayerIsInCapsule = True
|
||
|
bDone = True
|
||
|
Disable()
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
;=====================================================================================
|
||
|
; PROPERTIES
|
||
|
;=====================================================================================
|
||
|
bool bDone
|
||
|
bool Property bPlayerInCapsule Auto Conditional Hidden
|
||
|
|
||
|
_00E_MQ13c_Functions Property MQ13c Auto
|
||
|
|
||
|
ObjectReference Property MQ13c_SC09_NoRomanceChairREF Auto
|
||
|
ObjectReference Property MQ13c_SC09_RomanceChairREF Auto
|