IsInPowerArmor - Actor
Member of: Actor Script
Returns true if the actor is in Power Armor.
SyntaxEdit
bool Function IsInPowerArmor()
ParametersEdit
None.
Return ValueEdit
True or False
ExamplesEdit
; 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
NotesEdit
- 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)