Jump to content
Sign in to follow this  
Jono the Cutest

2 script in cfgFunction

Recommended Posts

I am not script expert and I want two function to work. One is a CH View Distance and another one is AI Driving Control.

 

The result is after I loaded into the game, CH View Distance is worked. I don't know if AI Driving Control will work or not but CfgUnitInisignia doesn't work.

 

Can you help me find out why I can't make it right?

 

Spoiler

 

class CfgUnitInsignia
{
    class 79ICBT
    {
        displayName = "79th Infantry Combat Brigade Team";                // Name displayed in Arsenal
        author = "Jono";                                                // Author displayed in Arsenal
        texture = "79.paa";    // Image path
        textureVehicle = "";                                            // Does nothing, reserved for future use
    };
};

 

#include "CHVD\dialog.hpp"

 

class cfgFunctions{
    #include "aidrivingcontrol\cfgfunctions.hpp"
    #include "CHVD\CfgFunctions.hpp"
};

class CfgRemoteExec{
    #include "aidrivingcontrol\cfgremoteexec.hpp"
};

 

 

Share this post


Link to post
Share on other sites

Ah, I figured. It's my fault this time. Wrong { and };

 

It must be as Spoiler. So... how to delete or lock up this topic?

Spoiler

 

class CfgUnitInsignia
{
    class 79ICBT
    {
        displayName = "79th Infantry Combat Brigade Team";                // Name displayed in Arsenal
        author = "Jono";                                                // Author displayed in Arsenal
        texture = "79.paa";    // Image path
        textureVehicle = "";                                            // Does nothing, reserved for future use
    };
};

 

#include "CHVD\dialog.hpp"

 

class cfgFunctions
{
    #include "aidrivingcontrol\cfgfunctions.hpp"
    #include "CHVD\CfgFunctions.hpp"
};

 

class CfgRemoteExec
{
    #include "aidrivingcontrol\cfgremoteexec.hpp"
};

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×