Good evening, how can I open a store or execute a processor with ACE interaction I found this
Posté par @andre.k via discord.
Code:
[this, localize "STR_MAR_Process_Sand", "", life_fnc_processAction, ["sand"], life_inv_sand > 0 && !life_is_processing && !life_action_inUse] call ace_interact_menu_fnc_addAction;
[this, format ["%1 ($%2)", localize (getText(missionConfigFile >> "Licenses" >> "sand" >> "displayName")), [(getNumber(missionConfigFile >> "Licenses" >> "sand" >> "price"))] call life_fnc_numberText], "", life_fnc_buyLicense, ["sand"], ! license_civ_sand && playerSide isEqualTo civilian] call ace_interact_menu_fnc_addAction;
Dernière édition par un modérateur: