IsDetectedBy - Actor: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
bool Function IsDetectedBy(Actor akOther) native
bool Function IsDetectedBy(Actor akOther) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 17: Line 17:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Is the player detected by Nate?
; Is the player detected by Nate?
bool nateSeesUs = Game.GetPlayer().IsDetectedBy(Nate)
bool nateSeesUs = Game.GetPlayer().IsDetectedBy(Nate)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu