Difference between revisions of "User:PROXiCiDE/IsActorDetectedBy"
Jump to navigation
Jump to search
User:PROXiCiDE/IsActorDetectedBy (edit)
Revision as of 22:43, 24 January 2013
, 22:43, 24 January 2013→Script
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 (→Script) |
||
Line 35: | Line 35: | ||
EndIf | EndIf | ||
;Make a minimum requirement for Distance checking, if | ;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) |