hello
there i have a question about show video on billbord for players who are infront of it via add action, so we create a trigger and add below code on it:
vp is name of the Addaction object
call{[vp,
"Pakhsh",
"\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa",
"\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa",
"_this distance _target < 2",
"_caller distance _target < 2",
{},
{},
{
_video = "V\reza.ogv";
_screen = namayeshgar;
_screen setObjectTexture [0, _video];
[_video] remoteExec ["BIS_fnc_playVideo", ([0, -2] select isDedicated), true];
m1 setObjectTextureGlobal [0,"P\rs.jpg"];
m2 setObjectTextureGlobal [0,"P\ma.jpg"];
},
{hint "Laghve tanzim";},
[],
5,
1000,
false,
false,
true
] remoteExec ["BIS_fnc_holdActionAdd",[0,-2] select isDedicated,true];};
when i test this code i just find it the video is just visible by who call add action and not somebody else.
how i can do it for all players infront of that billbord?