Background for Fallout 4
Member of the Actor script
boolfunctionSetUnconscious(boolabUnconscious=true)Native

Description

Wiki Description

Set or clear this actor's unconscious status.

Documentation Comment

Sets this actor as unconscious or not - returns false if the state wasn't changed


Caveats

CK Wiki - Notes

Unconscious actors cannot:

  • Move
  • Talk
  • Go into combat

You also cannot set the unconsciousness state of a dead actor.


Parameters

boolabUnconscious=true

CK Wiki Description

Whether to set or clear the unconscious state.

  • Default:True

Examples

; Set Stony to be unconscious
Stony.SetUnconscious()
; Clear Stony's unconscious status
Stony.SetUnconscious(false)

Auto-Generated Example

bool myBool__abUnconscious

bool returnedValue = myActor__toCallFunctionOn.SetUnconscious(myBool__abUnconscious)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.