Background for Fallout 4
Member of the Actor script
boolfunctionIsInPowerArmor()

Description

Wiki Description

Returns true if the actor is in Power Armor.

Documentation Comment

Return true if this actor is in power armor


Caveats

CK Wiki - Notes

  • Entering the Power Armor is a race change. Take this into consideration when using this function.
  • This function works inconsistently on NPCs. A more reliable alternative is to use akActor.WornHasKeyword(isPowerArmorFrame)

Examples

; Is the player in power armor?
if (Game.GetPlayer().IsInPowerArmor())
  Debug.Trace("The player is in Power Armor")
Else
  Debug.Trace("The player is NOT in Power Armor")
endIf

Auto-Generated Example

bool returnedValue = myActor__toCallFunctionOn.IsInPowerArmor()

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.