HX3 Foren

HX3 Foren (https://hx3.de/)
-   Editing & Scripting (https://hx3.de/editing-scripting-187/)
-   -   AGM Interaction hinzufügen (https://hx3.de/editing-scripting-187/agm-interaction-hinzufuegen-24354/)

Lucian 22.10.2014 12:52

AGM Interaction hinzufügen
 
Hi,
ich bin auf der Suche nach einer Möglichkeit Aktionen zum AGM Menü hinzu zufügen.
Diese Aktionen Sollen dann Anitmationen wie Pushups oder so ausführen.

Habe das mal als Mod Probiert, Funktioniert aber nicht. Bekomme immer Fehler some input after end of file .:sauer:
Code:

class CfgPatches {

        class llk_sport {
                units = {};
                weapons = {};
                requiredVersion = 0.600000;
                requiredAddons = {"AGM_Core"};
                versionAr = {0, 93, 0};
                author = {"Lucian"};
        };
};

class CfgVehicles {
        /*extern*/ class Man;

        class CAManBase: Man {

                class AGM_Actions {};

                class AGM_SelfActions {

                        class LLK_Sport_Menu {
                                displayName = "Sport >>";
                                condition = "canStand player";
                                statement = "'LLK_SPORT_Menu' call AGM_Interaction_fnc_openMenuSelf;";
                                showDisabled = 1;
                                priority = 3.700000;
                                subMenu = {"LLK_SPORT_Menu", 1};

                                class LLK_Sport_A1 {
                                        displayName = "Sport 2";
                                        condition = "canStand player";
                                        statement = "player playMove 'AmovPercMstpSnonWnonDnon_exercisePushup'";
                                        priority = 1;
                                        showDisabled = 1;
                                };
                        };
                };
        };
};

Ich weis das man die Aktion auch mit einem Script hinzufügen kann, wie das aber genau geht weis ich nicht.

Edit:
In meiner arma3.rpt bekomme folgende Fehlermeldungen
Code:

File llk_sport\config.cpp, line 3: '/CfgPatches/llk_sport.units': Missing ';' prior '}'
File llk_sport\config.cpp, line 4: '/CfgPatches.weapons': Missing ';' prior '}'
File llk_sport\config.cpp, line 6: '.requiredAddons': Missing ';' prior '}'
ErrorMessage: Config : some input after EndOfFile.


Lucian 24.10.2014 02:54

Habe selber Fehler gefunden.


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:17 Uhr.

Angetrieben durch vBulletin, Entwicklung von Philipp Dörner & Tobias


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119