Difference between revisions of "User:PROXiCiDE/IsActorDetectedBy"
Jump to navigation
Jump to search
User:PROXiCiDE/IsActorDetectedBy (edit)
Revision as of 22:44, 24 January 2013
, 22:44, 24 January 2013→Script
imported>PROXiCiDE (→Script) |
imported>PROXiCiDE (→Script) |
||
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 | ;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 |