Blerp Posted July 30, 2016 Report Share Posted July 30, 2016 Hello, I was struggling with the server scripts and when i checked the rpt file i saw that it could not find the ikea script and i checked the folder and it was not there also , i also checked the Wai folder if it was anywhere but it was not .. Does anyone know where i can find that script ,? Grtz Blerp Link to comment Share on other sites More sharing options...
0 Tech_Support Posted August 4, 2016 Report Share Posted August 4, 2016 ikea_convoy.sqf if(isServer) then { private ["_complete","_dir","_rndnum","_crate_type","_mission","_position","_vehclass3","_vehclass2","_vehicle3","_vehicle2","_playerPresent","_vehicle","_vehclass","_crate"]; _position = [40] call find_position; _mission = [_position,"Hard","Disabled Convoy","MainHero",true] call mission_init; diag_log format["WAI: [Mission:[Hero] Disabled Convoy]: Starting... %1",_position]; //Setup the crate _crate_type = crates_large call BIS_fnc_selectRandom; _crate = createVehicle [_crate_type,[(_position select 0),(_position select 1),0], [], 0, "CAN_COLLIDE"]; //Troops _rndnum = 5 + round (random 3); [[_position select 0,_position select 1,0],_rndnum,"Hard","Random",4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],4,"Hard","Random",4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],4,"Random","Random",4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],4,"Random","Random",4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; //Static Guns [[ [(_position select 0) + 25, (_position select 1) + 25, 0], [(_position select 0) - 25, (_position select 1) - 25, 0], [(_position select 0) + 25, (_position select 1) - 25, 0] ],"M2StaticMG","Easy","Bandit","Bandit",1,2,"Random","Random",_mission] call spawn_static; //Heli Para Drop [[(_position select 0),(_position select 1),0],[0,0,0],400,"BAF_Merlin_HC3_D",10,"Random","Random",4,"Random","Bandit","Random","Bandit",false,_mission] spawn heli_para; // Spawn Vehicles _dir = floor(round(random 360)); _vehclass = cargo_trucks call BIS_fnc_selectRandom; // Cargo Truck _vehclass2 = refuel_trucks call BIS_fnc_selectRandom; // Refuel Truck _vehclass3 = military_unarmed call BIS_fnc_selectRandom; // Military Unarmed _vehicle = [_vehclass,_position,false,_dir] call custom_publish; _vehicle2 = [_vehclass2,_position,false,_dir] call custom_publish; _vehicle3 = [_vehclass3,_position,false,_dir] call custom_publish; if(debug_mode) then { diag_log format["WAI: [Hero] ikea_convoy spawned a %1",_vehclass]; diag_log format["WAI: [Hero] ikea_convoy spawned a %1",_vehclass3]; diag_log format["WAI: [Hero] ikea_convoy spawned a %1",_vehclass2]; }; //Condition _complete = [ [_mission,_crate], // mission number and crate ["crate"], // ["crate"], or ["kill",wai_kill_percent], or ["assassinate", _unitGroup], [_vehicle,_vehicle2,_vehicle3], // cleanup objects "An Ikea delivery has been hijacked by bandits, take over the convoy and the building supplies are yours!", // mission announcement "Survivors have secured the building supplies!", // mission success "Survivors did not secure the convoy in time" // mission fail ] call mission_winorfail; if(_complete) then { [_crate,[2,crate_weapons_buildables],[4,crate_tools_buildable],[30,crate_items_buildables],4] call dynamic_crate; }; diag_log format["WAI: [Mission:[Hero] Disabled Convoy]: Ended at %1",_position]; h_missionrunning = false; }; Link to comment Share on other sites More sharing options...
0 Tech_Support Posted August 4, 2016 Report Share Posted August 4, 2016 Download wai and unzip again it should be in 2.1.0, 2.1.2 and 2.1.4 i have all 3 versions of WAI and the file is there in all 3 Link to comment Share on other sites More sharing options...
0 Blerp Posted August 4, 2016 Author Report Share Posted August 4, 2016 Hi, thanks a lot for the info :) I did download it again and it was not there ,before i posted the problem here .. Thanks again for the script .. Gretes Link to comment Share on other sites More sharing options...
Question
Blerp
Hello,
I was struggling with the server scripts and when i checked the rpt file i saw that it could not find the ikea script and i checked the folder and it was not there also , i also checked the Wai folder if it was anywhere but it was not ..
Does anyone know where i can find that script ,?
Grtz
Blerp
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now