Background for Skyrim SE
Member of the iEquip_ActorExt script
WeaponfunctionGetEquippedWeapon(Actora_actor, inta_hand)NativeGlobal

Description

Documentation Comment

@brief Gets the weapon equipped in the given hand on the given actor.
@param a_actor The actor to check.
@param a_hand The hand to check.
@return Returns a weapon if equipped in the given hand. Returns NONE otherwise.
VALID HANDS:
1 - Right hand
2 - Left hand


Caveats


Parameters

Actora_actor

inta_hand


Examples

Auto-Generated Example

Actor myActor__a_actor
int myInt__a_hand

Weapon returnedValue = iEquip_ActorExt.GetEquippedWeapon(myActor__a_actor, myInt__a_hand)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.