IsInPowerArmor - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Returns true if the actor is in Power Armor.

Syntax

bool Function IsInPowerArmor()

Parameters

None.

Return Value

True or False

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

Notes

  • Entering the Power Armor is a race change. Take this into consideration when using this function.

See Also