Jump to content
WAL28

Asking kindly for advice/help with the some scripts

Recommended Posts

Hello everyone, I learned a thing or two for the eden editor from viewing topics and posts in this forum, so I decided to join and learn more. I mostly view videos from YouTube but it seems that I need to learn more from scripting.

 

I placed these on the Object init to trigger a task module on 4 Laptops, but for some reason it doesn't work a new created file. 

 

[
    lap1,
    "Get Task",
    "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa",
    "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa",
    "_this distance _target < 3",
    "_caller distance _target < 3",
    { hint "Downloading task.." },
    {},
    { tasktrig1 setTriggerActivation ["ANY", "PRESENT", false], hint "Task Information Recieved" },
    {},
    [],
    5,
    0,
    false,
    false
] remoteExec ["BIS_fnc_holdActionAdd", 0, lap1];

 

I also used this to detonate objects but does not work on another file. the created IED detonates as soon as the game loads.

 

[
    lap2,
    "Detonate IED",
    "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa",
    "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa",
    "_this distance _target < 3",
    "_caller distance _target < 3",
    { hint "Detonation in progress.." },
    {},
    { bomb="Bo_GBU12_LGB" createVehicle (getPos ied1); deletevehicle ied1; hint "Detonate Test Completed" },
    {},
    [],
    5,
    0,
    true,
    false
] remoteExec ["BIS_fnc_holdActionAdd", 0, lap2];

 

I truly enjoy the game and editor, but I admit in having difficulty understanding all these.

 

Thanks in advance for all the advice and help you guys can provide.

Edited by WAL28
Typo in title

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

×