PrepareWeapon¶
Realm: SERVER (supported usage).
actor:PrepareWeapon(weapon_class, switching)
Equips/selects weapon_class or the assigned weapon through bgNPC.Combat.EquipActor.
Source: lua/background_npcs_core/actor/components/sh_combat.lua.
Realm: SERVER (supported usage).
actor:PrepareWeapon(weapon_class, switching)
Equips/selects weapon_class or the assigned weapon through bgNPC.Combat.EquipActor.
Source: lua/background_npcs_core/actor/components/sh_combat.lua.