My addon isn't working the action isn't appearing on the scroll wheel. In my .pbo file i have a config.cpp,init.sqf,melee.sqf the code for each of the files are below.
config.cpp:
#include "init.sqf"
class CfgPatches {
class Melee {
units[] = {};
weapons[] = {};
requiredVersion = 1.0;
requiredAddons[] = {};
};
};
init.sqf:
_meleeAct = player addAction["Melee","melee.sqf"]
melee.sqf:
if(player distance cursorTarget < 3) then {[cursorTarget,600] call ace_blackoutall;}
else {hint "You are too far away!"}
If someone could help me i would appreciate it plus i am using the ace mod and ace wound system module.:)