enderalse/source/scripts/_00e_mq13b_sc09_nexusplatformspheresc.psc

31 lines
864 B
Plaintext

Scriptname _00E_MQ13b_SC09_NexusPlatformSphereSC extends ObjectReference Conditional
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == MQ13b._00E_MC_YaelaREF
bYaelaOnPlatform = True
ElseIf akActionRef == MQ13b.akCompanionRomance
bCompanionOnPlatform = True
ElseIf akActionRef == MQ13b.PlayerREF
bPlayerOnPlatform = True
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
If akActionRef == MQ13b._00E_MC_YaelaREF
bYaelaOnPlatform = False
ElseIf akActionRef == MQ13b.akCompanionRomance
bCompanionOnPlatform = False
ElseIf akActionRef == MQ13b.PlayerREF
bPlayerOnPlatform = False
EndIf
EndEvent
_00E_MQ13b_Functions Property MQ13b Auto
bool Property bPlayerOnPlatform Auto Conditional Hidden
bool Property bCompanionOnPlatform Auto Conditional Hidden
bool Property bYaelaOnPlatform Auto Conditional Hidden