Sign in to follow this  
Followers 0
NAIL

Calling custom code

3 posts in this topic

I want to edit the code for the HUD, so I need to override "ExileClient_gui_hud_renderStatsPanel.sqf".  How would I call a new ExileClient_gui_hud_renderStatsPanel.sqf from initPlayerLocal.sqf?

Share this post


Link to post
Share on other sites

ANSWER:

 

in config.cpp look for :

class CfgExileCustomCode 
{
    /*
        You can overwrite every single file of our code without touching it.
        To do that, add the function name you want to overwrite plus the 
        path to your custom file here. If you wonder how this works, have a
        look at our bootstrap/fn_preInit.sqf function.

        Simply add the following scheme here:

        <Function Name of Exile> = "<New File Name>";

        Example:

        ExileClient_util_fusRoDah = "myaddon\myfunction.sqf";
    */

Share this post


Link to post
Share on other sites
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.