Jump to content
Sign in to follow this  
Wilhelm Rham

Building a bunker in a specific zone in few minutes

Recommended Posts

Hi , i am looking for a script to building a bunker in few minutes, i wanna do a place where you use a addaction "build defense", than you wait few minutes and spawn a bunker in a specific position,.

If posible, also create a task at beginning building and suceedees task at end of the time.

Can anyone help me pls¿?¿¿ Thanks you very much!!

Share this post


Link to post
Share on other sites

I have compiled this, and work correct! , i do my code here if another people need it XD

 

Quote

_sidepos = [zona1] call BIS_fnc_selectRandom;

hint "Construyendo bunker";

_prebunker = createVehicle ["Land_HelipadEmpty_F", _sidepos, [], 0, "NONE"];

[

"Bunker",

true,

["Construye un bunker para defender la zona.","Construir y defender","Construir y defender"],

_sidepos,

"AUTOASSIGNED",

5,

true,

true

] call BIS_fnc_setTask;

sleep 30;

deleteVehicle _prebunker;

_bunker1 = createVehicle ["Land_BagBunker_Tower_F", _sidepos, [], 0, "NONE"];

waitUntil {!alive _prebunker};


["Bunker","Succeeded"] call BIS_fnc_taskSetState;

hintSilent "Buen Trabajo, bunker construido!";

sleep 10;

["Bunker"] call BIS_fnc_deleteTask;

 

 

 

Thanks!

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  

×