Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
32 lines
1.2 KiB
32 lines
1.2 KiB
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 |