• 0
Sign in to follow this  
Followers 0
1Man

If you get End of file error inside mission file read this

Question

I ran into the problem because I use winmerge and was very tired so some of you probably didnt do this but I did so I figured I would help others that might have.

If you launch server and receive end of file error check config.cpp

Find class Animal which is now the end of the class CfgInteractionMenus use to be class Player you will notice if you had the same problem I did

            };
        };
    };
};

Below Player and Animal so inside the spoiler is what it should look like

Spoiler

    class Player
    {
        targetType = 2;
        target = "Exile_Unit_Player";
        class Actions
        {
            class Free: ExileAbstractAction
            {
                title = "Free";
                condition = "(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['ExileIsHandcuffed', false]) && !ExileClientIsHandcuffed";
                action = "_this call ExileClient_object_handcuffs_free";
            };
            class Search: ExileAbstractAction
            {
                title = "Search Gear";
                condition = "(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['ExileIsHandcuffed', false]) && !ExileClientIsHandcuffed";
                action = "_this call ExileClient_object_handcuffs_searchGear";
            };
            class Identify: ExileAbstractAction
            {
                title = "Identify Body";
                condition = "!(alive ExileClientInteractionObject)";
                action = "_this call ExileClient_object_player_identifyBody";
            };
            class HideCorpse: ExileAbstractAction
            {
                title = "Hide Body";
                condition = "!(alive ExileClientInteractionObject) && ('Exile_Melee_Shovel' isEqualTo (currentWeapon player))";
                action = "['HideBody', (_this select 0)] call ExileClient_action_execute";
            };
            class Revive: ExileAbstractAction
            {
                title = "Perform CPR";
                condition = "(!(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['EnigmaRevivePermitted', true]) && (magazines player find 'Exile_Item_Defibrillator' >= 0))";
                action = "_this spawn Enigma_RevivePlyr";
            };
        };
    };
    class Animal
    {
        targetType = 2;
        target = "Exile_Animal_Abstract";
        class Actions
        {            
            class Gut: ExileAbstractAction
            {
                title = "Gut Animal";
                condition = "!(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['CanBeGutted', false])";
                action = "['GutAnimal', ExileClientInteractionObject] call ExileClient_action_execute";
            };
        };
    };
};

 

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.