SetAlert - Actor: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
(link to the definition of what "alerted" means)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetAlert(bool abAlerted = true) native
Function SetAlert(bool abAlerted = true) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Set Nate to be alerted
; Set Nate to be alerted
Nate.SetAlert()
Nate.SetAlert()
</source>
</syntaxhighlight>
<br/>
<br/>
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Clear Nate's alerted status
; Clear Nate's alerted status
Nate.SetAlert(false)
Nate.SetAlert(false)
</source>
</syntaxhighlight>


== Note ==
== Note ==

Navigation menu