Background for Fallout 4
Member of the Actor script
intfunctionGetCombatState()Native

Description

Wiki Description

Gets the actor's current combat state.

Documentation Comment

Gets this actor's current combat state


Caveats


Examples

; Is the pirate searching?
if (FilthyPirate.GetCombatState() == 2) ; 2 is "search"
  Debug.Trace("Careful! That filthy pirate is looking around...")
endIf

Auto-Generated Example

int returnedValue = myActor__toCallFunctionOn.GetCombatState()

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.