Jump to content
Sign in to follow this  
Ogan

[Need help] addAction and BIS_fnc_holdActionAdd

Recommended Posts

Quote

[
oil_pump_1,
"Load",
"\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_unbind_ca.paa",
"\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_takeOff2_ca.paa",
"_this distance _target < 5",
"_caller distance _target < 5",
{player setDamage 1},
[],
10,
nil,
true,
false

] call BIS_fnc_holdActionAdd;

and

Quote

this addAction ["Change",{
if (
("photo3" in magazines player) or
("photo3" in items player) or
("photo3" in assignedItems player)
) then {
player addItem "kss_abb_army_foodcan"; player removeItem "photo3";};
}];


I need after a delay in the form of a radial process, one item was exchanged for another. How to unite these two scripts correctly.

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  

×