====== Buildables ====== {{ :build_inventory.png?600 |}} Buildables are items with build functionality attached to them. Configure which inventory item can build which objects to allow players to build defences for example. ===== Ⓜ️Add Buildable Item ===== This module sets up an inventory item from which objects can be built. Needs to be synced to one or more Add Buildable Object modules. Use the buildable inventory item by double left clicking it in your inventory. {{ :buildabe_item_module.png?600 |}} Attributes: * Item: class name = Classname of the item that will have the option to build this buildable * Item: Display name = Display name for the buildable item. Leave empty to retain the original item name. * Item: Icon = Path to .paa for Icon of the buildable. Leave empty to retain the original item icon. * Consume item on use = If checked, the item will be consumed when the buildable is placed * Condition Place = Condition that needs to return true to allow the buildable to be placed. Runs while buildable is held * Condition Place Hint = Hint shown to the player when the buildable can't be placed due to condition place * On build = Code that runs when the buildable object was placed. This runs on the client that placed the object ===== Ⓜ️Add Buildable Object ===== This module sets up an object that can be built using the Add Buildable Item module. Needs to be synced to one or more Add Buildable Item modules. {{ :buildable_object_module.png?600 |}} Attributes: * Context Menu: Name = Name that will be displayed as the context menu option * Context Menu: Tooltip = Tooltip that will be displayed when hover over the context menu option * Context Menu: Icon = Tooltip that will be displayed in the context menu option * Context Menu: Condition Show = Condition that needs to return true to show the context menu option * Context Menu: Condition Enable = Condition that needs to return true to enable the context menu option * Context Menu: On Select = Code that runs when the context menu option is selected * Context Menu: Color Red = Sets amount of red in the color of the context menu option * Context Menu: Color Green = Sets amount of green in the color of the context menu option * Context Menu: Color Blue = Sets amount of blue in the color of the context menu option * Context Menu: Color Alpha = Sets amount of alpha (transparency) in the color of the context menu option ===== Controls ====== Controls for buildables can be changed in the regular Arma keybind menus. {{ :build_controls_dropdown.png?600 |}} {{ :build_controls.png?600 |}} ===== Syncs ====== {{ :buildable_syncs.png?600 |}}