Difference between revisions of "User:PROXiCiDE/IsActorDetectedBy"

Jump to navigation Jump to search
imported>PROXiCiDE
(Created page with "Category:Scripting Category:Papyrus Checks to see if a Actor is being detected by another Actor. If the Actor comes with in-range of the minimum distance of the targe...")
 
imported>PROXiCiDE
Line 35: Line 35:
EndIf
EndIf
;Make a minimum requirement for Distance checking, if player is in that threshold then detect us regardless
;Make a minimum requirement for Distance checking, if actor is in that threshold then detect us regardless
;This insures that the player keeps a safe distance from the Actor
;This insures that the player keeps a safe distance from the Actor
If (akActor.GetDistance(akTarget) <= fDistanceCheck)
If (akActor.GetDistance(akTarget) <= fDistanceCheck)
Anonymous user

Navigation menu