Skip to content

GetActorWeapon

Realm: SERVER (supported usage).

actor:GetActorWeapon()

Returns the assigned weapon class, not a weapon entity. That assignment is not part of the regular client snapshot.

Source: lua/background_npcs_core/actor/components/sh_combat.lua.

Realm reference.