ACE3/docs/wiki/framework/wirecutter-framework.md
Will ab2207924f
Logistics Wirecutter - Add documentation (#9248)
* Create wirecutter-framework.md

* Update docs/wiki/framework/wirecutter-framework.md

---------

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2023-07-09 21:14:54 +03:00

1.0 KiB

layout title description group order parent mod version
wiki Wirecutter Framework Explains how to set-up items, backpacks and vests with ACE3 wirecutter system. framework 5 wiki ace
major minor patch
3 16 0

1. Config Values

The properties below control whether an item is considered a wirecutter. Worn items (vests and backpacks) can have "built-in" wirecutters with the ace_logistics_wirecutter_hasWirecutter property.

class CfgWeapons {
    class MyVest {
        ace_logistics_wirecutter_hasWirecutter = 1; //1 for true, 0 for false.
    };
    class MyItem {
        ACE_isWirecutter = 1; //1 for true, 0 for false.
    };
};
class CfgVehicles {
    class MyBackpack {
        ace_logistics_wirecutter_hasWirecutter = 1; //1 for true, 0 for false.
    };
};

2. Events

2.1 Listenable

Event Name Description Passed Parameter(s) Locality
ace_wireCuttingStarted Wire cutting started [_unit, _fence] Global