Background for Starfield
Member of the Actor script
voidfunctionSetCriticalStage(intaiStage)Native

Description

Wiki Description

Sets this actor's current critical stage, along with applying any related effects.

Documentation Comment

Sets this actor's critical stage, which is one of the following (properties below also match this)
0 - None
1 - Goo start
2 - Goo end
3 - Disintegrate start
4 - Disintegrate end
5 - Freeze start
6 - Freeze end


Parameters

  1. intaiStage

    CK Wiki Description

    The critical stage to set it to. The following values are acceptable (properties are read-only and exist in the actor script):* CritStage_None - No critical stage

    • CritStage_GooStart - Start of the goo effect
    • CritStage_GooEnd - End of the goo effect (removes object from the world)
    • CritStage_DisintegrateStart - Start of the disintegrate effect
    • CritStage_DisintegrateEnd - End of the disintegrate effect (removes object from the world)
    • CritStage_FreezeStart - Start of the freeze effect
    • CritStage_FreezeEnd - End of the freeze effect

Examples

; Tell skeleton to start disintigrating
Skeleton.SetCriticalStage(Skeleton.CritStage_DisintegrateStart)

Auto-Generated Example

int myInt__aiStage

myActor__toCallFunctionOn.SetCriticalStage(myInt__aiStage)

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.