SetAlert - Actor
Revision as of 08:48, 19 March 2012 by imported>Fore
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)
Note[edit | edit source]
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.