GetEquippedShield - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Gets the actor's currently equipped shield.

Syntax

Armor Function GetEquippedShield() native

Parameters

Return Value

The Armor the actor currently has equipped.

Examples

; Does the player have the uber shield equipped?
if (Game.GetPlayer().GetEquippedShield() == UberShield)
  Debug.Trace("Player has uber-shield equipped")
endIf

See Also