SetAlert - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Set or clear this actor's alerted state.

Syntax[edit | edit source]

Function SetAlert(bool abAlerted = true) native

Parameters[edit | edit source]

  • abAlerted: Whether to set or clear the alerted state.
    • Default: True

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Set Nate to be alerted
Nate.SetAlert()


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

See Also[edit | edit source]