Back to ACE

ACE_GetWeaponAnchorContraption

S

Part of ACE namespace

function ACE_GetWeaponAnchorContraption(weapon)
View on GitHub|lua/acf/shared/sh_ace_functions.lua:1386-1406
👁️ 0 viewsUpdated 1 month ago

Description

Link anchor of a weapon with no CFW contraption of its own: the valid linked crate with the lowest EntIndex that has a contraption. Exactly one contraption adopts (and bills) such a weapon, independently of the order in which crates were linked.

Parameters

NameTypeDescription
weaponany

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.