Jump to content

[RELEASE] Attach Explosives


Darth_Rogue

Recommended Posts

@Toby77

here's how I did it in my initPlayerLocal at the bottom.

 

Spoiler

if (!isDedicated and hasInterface) then
{
    waitUntil {alive vehicle player};    
    waitUntil {typeOF player != "VirtualMan_EPOCH"};
    uisleep 30;    
    [] execVM "2dmin\addons\autolockpick\AutoLockPicker.sqf";                                //    AutoLockPicker thx second_coming
    systemchat("AutoLockPicker Activated...");
    systemchat("Attach Explosives Activated...");
    
    while {true} do
    {
    waitUntil {alive vehicle player};
    uisleep 30;
    [] execVM "2dmin\addons\etv\EtV.sqf";                                                    //    Attach Explosives Darth_Rogue
    waitUntil {!isNil "EtVInitialized"};
    [player] call EtV_Actions;
                
    waitUntil {!alive player};
    uisleep 30;
    [] execVM "2dmin\addons\etv\EtV.sqf";                                                    //    Attach Explosives Darth_Rogue
    waitUntil {!isNil "EtVInitialized"};
    [player] call EtV_Actions;    
    };        
};

 

don't forget He-Man input to, most important with the stock AH


Try to Add in your Init:

inSafeZone = false;

 

 

Link to comment
Share on other sites

  • 4 months later...
On 1/6/2017 at 5:36 AM, natoed said:

Ok I was completely wrong about the " EtVInitialized " in my above post, its cause major issues client side, do not try it.

First off added this to your init.sqf thx to He-Man

I now have the script working correctly by calling for it in my initPlayerLocal.sqf

Using DarthRogue install.txt

  Reveal hidden contents
if (!isDedicated and hasInterface) then
{
while {true} do
{
waitUntil {alive vehicle player};
Sleep 30;
[] execVM "addons\etv\EtV.sqf";
waitUntil {!isNil "EtVInitialized"};
[player] call EtV_Actions;
 
waitUntil {!alive player};
Sleep 30;
[] execVM "addons\etv\EtV.sqf";
waitUntil {!isNil "EtVInitialized"};
[player] call EtV_Actions;
 
};

};

 

 

 

 

 

Hi natoed.

I can't get this script to work.

Does it still work for you?

I tried your example but no luck...

Thanks.

Link to comment
Share on other sites

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...