Difference between revisions of "User:PROXiCiDE/IsActorDetectedBy"

Jump to navigation Jump to search
imported>PROXiCiDE
imported>PROXiCiDE
Line 36: Line 36:
;Make a minimum requirement for Distance checking, if actor 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 actor keeps a safe distance from the target
If (akActor.GetDistance(akTarget) <= fDistanceCheck)
If (akActor.GetDistance(akTarget) <= fDistanceCheck)
Return True
Return True
Anonymous user

Navigation menu