SetUnconscious - Actor
Jump to navigation
Jump to search
Member of: Actor Script
Set or clear this actor's unconscious status.
Syntax
Function SetUnconscious(bool abUnconscious = true) native
Parameters
- abUnconscious: Whether to set or clear the unconscious state.
- Default: True
Return Value
None.
Examples
; Set Stony to be unconscious
Stony.SetUnconscious()
; Clear Stony's unconscious status
Stony.SetUnconscious(false)
Notes
- Actors cannot be unconscious and restrained in the same time - flaging the actor as unconscious unflags it as restrained, and vice versa.