Background for Skyrim SE
Member of the Actor script
voidfunctionSetAlert(boolabAlerted=true)Native

Description

Wiki Description

Set or clear this actor's alerted state.

Documentation Comment

Sets the actor in an alerted state


Parameters

  1. boolabAlerted=true

    CK Wiki Description

    Whether to set or clear the alerted state.

    • Default:True

Examples

; Set Nate to be alerted
Nate.SetAlert()
; Clear Nate's alerted status
Nate.SetAlert(false)

Auto-Generated Example

bool myBool__abAlerted

myActor__toCallFunctionOn.SetAlert(myBool__abAlerted)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.