22 lines
648 B
Plaintext
22 lines
648 B
Plaintext
|
Scriptname _00E_MQ14_SC04_RemoveNPCsFromBeaconSC extends ObjectReference
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
|
||
|
If !(akActionRef == (controlQuest.apparationAlias.getReference() as ObjectReference)) || !(MQ14_NPCsAllowedAtBeacon.HasForm(akActionRef as ObjectReference))
|
||
|
|
||
|
Actor akActor = akActionRef as Actor
|
||
|
; akActor.PathToReference(MQ14_OriginMarker, 1.0)
|
||
|
MQ14.FillSpectator(akActor)
|
||
|
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
_00E_MQ14_Functions Property MQ14 Auto
|
||
|
_FS_Phasmalist_ControlQuest Property controlQuest Auto
|
||
|
|
||
|
Formlist Property MQ14_NPCsAllowedAtBeacon Auto
|
||
|
|
||
|
ObjectReference Property MQ14_OriginMarker Auto
|
||
|
|
||
|
Static Property XMarker Auto
|