Search the Community
Showing results for tags 'implement'.
Found 1 result
-
ace How implement ACE's interaction menu on my custom model?
God of Monkeys posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi all, I want to build a can Fold and Unfold tent via ACE's interaction menu.(ACE Interaction Menu Framework) So this is my config.cpp example: class CfgPatches { class My_HappyTent { units[] = {"My_HappyTent"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Structures_F_Civ_Camping"}; }; }; class CfgVehicles { class Land_Ground_sheet_folded_F; class My_HappyTent: Land_Ground_sheet_folded_F { displayName = "My Happy Tent (Folded)"; class ACE_Actions { displayName = "Unfold"; condition = "true"; statement = ""; //Bla bla bla something action unfold tent distance = 5; } }; }; So I pack this config.cpp into pbo, and go to editor. But when I push interaction button with this object, I can't see anything jump out. Is something I done wrong? //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Currently I use the ace trenches pbo to help me do this. I finally hope can create a Sleeping Mat, and when Player take this Sleeping Mat into their backpack, then when he put it on the ground, he can use interaction menu on Sleeping Mat to build (Like build trenches method) a Medical Tent(also include ace's medical building function), finally delete the Sleeping Mat that is on the ground. And when want to dismantle, player can use interaction menu on tent and dismantle it back to a Sleeping Mat. Then we can have a movable Medical Tent on field. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////