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")
endIfAuto-Generated Example
bool returnedValue = myActor__toCallFunctionOn.IsInPowerArmor()Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
