Jump to content
Sign in to follow this  
sorophx

mod works in Arma 2 but doesn't in Arma 3, can't figure out why

Recommended Posts

so, I wanted to add an action to my character in all missions I play, I cooked up a small mod to do that for me. it works in Arma 2 but doesn't in Arma 3, and I was wondering if someone could tell me what I need to change for it to work in A3 as well.

here's the config.cpp:

class CfgPatches {
class SLAM {
	units[] = { };
		weapons[] = { };
		requiredVersion = QUOTE(REQUIRED_VERSION);
		requiredAddons[] = { };
		version = 0.1;
		versionStr = QUOTE(VERSION);
		versionAr[] = {VERSION_AR};
};
};

class Extended_PostInit_EventHandlers {
class slam {
	clientInit = "call compile preProcessFileLineNumbers '\slam\init.sqf'";
};
};

this particular setup I took from LEA, because it does pretty much the same thing I need.

here's init.sqf:

SLAM_ACTION = player addAction [("<t color=""#BC4007"">" + "Execute" + "</t>"),"userconfig\slam\test.sqf","",0,false,false];

so, if anyone has any idea what should be changed for Arma 3 I'd greatly appreciate it

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  

×