Arma 3: adding hold actions to objects in public zeus
use code line:
[
this,
"sabotage generator",
"\a3\ui_f_oldman\data\IGUI\Cfg\holdactions\destroy_ca.paa",
"\a3\ui_f_oldman\data\IGUI\Cfg\holdactions\destroy_ca.paa",
"",
"",
{},
{},
{
lamp1 switchLight "OFF";
lamp2 switchLight "OFF";
lamp3 switchLight "OFF";
lamp4 switchLight "OFF";
["Track_C_18"] remoteExec ["playMusic",0,true];
},
{},
[],
12,
0,
true,
false
] remoteExec ["BIS_fnc_holdActionAdd", 0, true];
-----------------------------------------------------------------------------------------------------------------
Advance warning I had to remove two lines of code as youtube does not like having angled brackets in the description. These are the condition lines which stipulate the player must be less than three meters from the generator. If you want to still include that then make sure to copy those two lines by watching the tutorial very closely. If there are any problems then please comment the issue and I'll get on it.
If there are any specific aspects of Public Zeus you would like to see a tutorial on then feel free to place a comments and I'll see what I can do!
#Arma3 #Arma3PublicZeus #Arma3ScriptingTutorials
Other Videos By Tiber Brutus
Other Statistics
ARMA 3 Statistics For Tiber Brutus
At present, Tiber Brutus has 96,009 views spread across 59 videos for ARMA 3, with approximately 1 hour of ARMA 3 video on his channel. This makes up 41.71% of the content that Tiber Brutus has uploaded to YouTube.