4
Fork 0
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.
 
 
 

36 lines
940 B

Scriptname _00E_Complex_PortNPCsForQuestSC extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF && !bDone
if QuestToSet.GetStage() >= iStageMin && QuestToSet.GetStage() <= iStageMax
bDone = True
Actor01Ref.MoveTo(PlayerREF)
Actor02Ref.MoveTo(PlayerREF)
EndIf
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
bool bDone
int Property iStageMin Auto
int Property iStageMax Auto
Quest Property QuestToSet Auto
Actor Property Actor01Ref Auto
Actor Property Actor02Ref Auto
Actor Property PlayerREF Auto