Jump to content
AidenJ

Having trouble with my triggers (Im very new to this and I need to know how to make it work)

Recommended Posts

So Im trying to make a mission and i have a trigger but sleep doesnt work in it and I just found out, how can i make it into a sqf file for it to work and for the trigger to activate? 
Im very new im sorry 
 

    Flashbang setpos [Pos];
    Doorman setpos [pos];
    Deadman setpos [pos];
    Guard setpos [pos];
    sleep 3;
    Doorman switchmove "Acts_Breaching_Four";
    Flashbang switchmove "Acts_Breaching_Two";
    Deadman switchmove "Acts_Breaching_One";
    Guard switchmove "Acts_Breaching_Three";
    [1, "BLACK",3,1] call BIS_fnc_fadeEffect;
    sleep 10;
    [0, "BLACK",3,1] call BIS_fnc_fadeEffect;
    titleText ["The whereabouts of Delta squad are unknown, This mission is classified from the public but has become one of the most talked about incidents among the military", "PLAIN DOWN", 6];
    addSwitchableUnit Main1;
    selectPlayer Main1;
    deleteVehicle Flashbang;
    deleteVehicle Doorman;
    deleteVehicle Guard;
    deleteVehicle Deadman;
    deleteVehicle truck1;
    sleep 4;
    titleText ["2 Years Later", "PLAIN DOWN", 4];
    sleep 3;
    [1,"BLACK",3,1] call BIS_fnc_fadeEffect;
    sleep 5;
    deleteVehicle Trig1;
    deleteVehicle Trig2;

Its in the form of how it would be in a trigger and I dont know how to make it work. Sorry if this is the wrong place. I want it in the form of an SQF

Share this post


Link to post
Share on other sites

just put it in a sqf file in your missions root folder and execVM it:

 

_d = execVM "YOURSQFFILENAME.SQF";

 

Share this post


Link to post
Share on other sites

Already solved in Arma Discord 40 minutes ago.

Just put a spawn around it.

Share this post


Link to post
Share on other sites
2 hours ago, sarogahtyp said:

just put it in a sqf file in your missions root folder and execVM it:

 


_d = execVM "YOURSQFFILENAME.SQF";

 

Thanks, that helps me as well

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

×