;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 8
Scriptname SF_SLApproach_DetectPlayerOu_0772A45E Extends Scene Hidden

;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN CODE
Actor akactor = TalkingActorRef.Getreference() as actor
if !akactor.isinfaction(slapp_HaveSeenBody)
akactor.addtofaction(slapp_HaveSeenBody)
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN CODE
Actor akactor = TalkingActorRef.Getreference() as actor
akactor.setfactionrank(slapp_HaveSeenBody, 5)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN CODE
Actor akactor = TalkingActorRef.Getreference() as actor
akactor.setfactionrank(slapp_HaveSeenBody, 4)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN CODE
Getowningquest().setstage(255)
stop()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_3
Function Fragment_3()
;BEGIN CODE
Actor akactor = TalkingActorRef.Getreference() as actor
akactor.setfactionrank(slapp_HaveSeenBody, 2)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN CODE
Actor akactor = TalkingActorRef.Getreference() as actor
akactor.setfactionrank(slapp_HaveSeenBody, 1)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_4
Function Fragment_4()
;BEGIN CODE
Actor akactor = TalkingActorRef.Getreference() as actor
akactor.setfactionrank(slapp_HaveSeenBody, 3)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN CODE
Actor akactor = TalkingActorRef.Getreference() as actor
akactor.setfactionrank(slapp_HaveSeenBody, 6)
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

Faction Property slapp_HaveSeenBody  Auto  

ReferenceAlias Property TalkingActorRef  Auto  
