Difference between revisions of "IsActorDetected"

871 bytes added ,  08:50, 11 January 2011
no edit summary
imported>Kkuhlmann
 
imported>Ez0n3
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Returns 1 if the calling actor is currently detected by any other actor.
{{Function
|CSWikiPage = IsActorDetected
|origin = GECK1
|summary = Returns 1 if the calling actor is currently detected by any other actor, and returns 0 if the calling actor is not currently detected by any other actor.
|name = IsActorDetected
|referenceType = [ActorRefID]
|returnVal = 0, 1
|returnType = int
|example = BuddyRef.IsActorDetected
Returns 1 if BuddyRef is detected by any other actor, and returns 0 if BuddyRef is not detected by any other actor
}}


==Notes==
*Will always return 0 when called on the player
*Because the game cannot read the user's mind, this function cannot be used to detect whether or not an actor is detected by the player.  If you want to detect whether or not an actor has been detected by the player, use [[GetLOS]] instead.


==See Also==
==See Also==
[[GetDetected]]
*[[GetDetected]]
*[[GetDetectionLevel]]




[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (GECK 1.1)]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions (GECK 1.1)]]
[[Category:Detection Functions]]
[[Category:Detection Functions]]
[[Category:Detection Functions (GECK 1.1)]]
[[Category:Detection]]
Anonymous user