Hey zusammen.
Ich habe mir bei einem Beitrag angeschaut, wie ich das Interaktionsmenu von Standard Arma 3 (Windows-Taste) auf komplett Ace lege, jedoch ist dort mir scheinbar ein Fehler unterlaufen, der für ziemlich unerklärlich ist.
Im Anhang findet ihr den Fehlercode und bedanke mich bereits im Voraus.
Der Code der Config.CPP findet ihr ebenfalls hier drunter.
Code: Config.cpp
#include "BIS_AddonInfo.hpp"
class CfgPatches
{
class a3am_ace
{
name = "A3AM ACE";
author = "A3AM";
requiredVersion = 1.60;
requiredAddons[] = {"A3_Functions_F", "ace_main", "ace_interaction", "ace_interact_menu"};
units[] = {};
weapons[] = {};
};
};
class CfgVehicles
{
class LandVehicle;
class Man;
class CAManBase : Man
{
class ACE_Actions
{
class ACE_MainActions
{
class A3AM_interak
{
class A3AM_showCiv
{
displayName = "Dienstausweis Zeigen"; //Wie soll der Name bei der Interaktion stehen
condition = "playerSide in [west,independent,east]"; //Wer darf es nutzen, abfrage zB via Side oder Lizenz
tatement = "DEINE INTERACTION;";
exceptions[] = {""};
icon = ""; //Welches Icon soll die Interaktion haben
};
class A3AM_ticket
{
displayName = "Rechnung Ausstellen";
condition = "playerSide in [west,independent,east]";
statement = "[_target] call life_fnc_ticketAction";
exceptions[] = {""};
icon = "";
};
};
};
class ACE_SelfActions
{
class A3AM_showCiv2
{
displayName = "Ausweis ansehen";
displayName2 = "Dienstausweis Zeigen";
condition = "playerSide in [west,independent,east]";
tatement = "DEINE INTERACTION;";
exceptions[] = {""};
icon = "";
};
};
};
class Car : LandVehicle
{
class ACE_Actions
{
class ACE_MainActions
{
class A3AM_autosuchen
{
displayName = "Fahrzeug Durchsuchen";
condition = "playerSide in [west,east]";
statement = "[_target] spawn life_fnc_vehInvSearch";
exceptions[] = {""};
icon = "";
};
class A3AM_askNumberplate
{
displayName = "Nummernschild Abfragen";
condition = "playerSide in [west,east]";
statement = "[_target] spawn life_fnc_searchVehAction";
exceptions[] = {""};
icon = "";
};
class A3AM_repair
{
displayName = "Fahrzeug Reparieren";
condition = "";
statement = "[_target] spawn life_fnc_repairTruck";
exceptions[] = {""};
icon = "";
};
class A3AM_flip
{
displayName = "Fahrzeug Anheben";
condition = "";
statement = "_target setPos [getPos _target select 0, getPos _target select 1, (getPos _target select 2)+0.5];";
exceptions[] = {""};
icon = "";
};
class A3AM_impound
{
displayName = "Fahrzeug Beschlagnahmen";
condition = "playerSide in [west,independent,east]";
statement = "[_target] spawn life_fnc_impoundAction";
exceptions[] = {""};
icon = "";
};
};
};
};
class Air;
class Helicopter : Air
{
class ACE_Actions
{
class ACE_MainActions
{
class A3AM_askNumberplateheli
{
displayName = "Modelnummer Abfragen";
condition = "playerSide in [west,east]";
statement = "[_target] spawn life_fnc_searchVehAction";
exceptions[] = {""};
icon = "";
};
class A3AM_helisuchen
{
displayName = "Helikopter Durchsuchen";
condition = "playerSide in [west,east]";
statement = "[_target] spawn life_fnc_vehInvSearch";
exceptions[] = {""};
icon = "";
};
class A3AM_impoundheli
{
displayName = "Helikopter Beschlagnahmen";
condition = "playerSide in [west,independent,east]";
statement = "[_target] spawn life_fnc_impoundAction";
exceptions[] = {""};
icon = "";
};
class A3AM_repairheli
{
displayName = "Helikopter Reparieren";
condition = "";
statement = "[_target] spawn life_fnc_repairTruck";
exceptions[] = {""};
icon = "";
};
};
};
};
class Plane : Air
{
class ACE_Actions
{
class ACE_MainActions
{
class A3AM_askNumberplateplane
{
displayName = "Modelnummer Abfragen";
condition = "playerSide in [west,east]";
statement = "[_target] spawn life_fnc_searchVehAction";
exceptions[] = {""};
icon = "";
};
class A3AM_searchplane
{
displayName = "Flugzeug Durchsuchen";
condition = "playerSide in [west,east]";
statement = "[_target] spawn life_fnc_vehInvSearch";
exceptions[] = {""};
icon = "";
};
class A3AM_impoundplane
{
displayName = "Flugzeug Beschlagnahmen";
condition = "playerSide in [west,independent,east]";
statement = "[_target] spawn life_fnc_impoundAction";
exceptions[] = {""};
icon = "";
};
class A3AM_repairplane
{
displayName = "Flugzeug Reparieren";
condition = "";
statement = "[_target] spawn life_fnc_repairTruck";
exceptions[] = {""};
icon = "";
};
};
};
};
class Ship;
class Ship_F : Ship
{
class ACE_Actions
{
class ACE_MainActions
{
class A3AM_askNumberplateship
{
displayName = "Modelnummer Abfragen";
condition = "playerSide in [west,east]";
statement = "[_target] spawn life_fnc_searchVehAction";
exceptions[] = {""};
icon = "";
};
class A3AM_searchship
{
displayName = "Boot Durchsuchen";
condition = "playerSide in [west,east]";
statement = "[_target] spawn life_fnc_vehInvSearch";
exceptions[] = {""};
icon = "";
};
class A3AM_impoundship
{
displayName = "Boot Beschlagnahmen";
condition = "playerSide in [west,independent,east]";
statement = "[_target] spawn life_fnc_impoundAction";
exceptions[] = {""};
icon = "";
};
class A3AM_repairship
{
displayName = "Boot Reparieren";
condition = "";
statement = "[_target] spawn life_fnc_repairTruck";
exceptions[] = {""};
icon = "";
};
};
};
};
};
Alles anzeigen