SetAlert - Actor

Member of: Actor Script

Set or clear this actor's alerted state.

SyntaxEdit

Function SetAlert(bool abAlerted = true) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

; Set Nate to be alerted
Nate.SetAlert()


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

NoteEdit

There is a problem with calling SetAlert on the player (Game.GetPlayer().SetAlert(true)). Once called, it's not possible to use the forge any more. Instead an equip animation will be played repeatedly.

See AlsoEdit