jgaz-uk 132 Posted May 15, 2018 Excellent work! Your demo mission took a bit of working out with stuff dropping everywhere Worked it all out soon enough . One question the setting "_next_drop_in_sec" sets the time from when the request is made to when the drop happens. Is there a way to limit the number of requests allowed? For the "GF_Cargo_Airdrops_ZAG_LORD" script you can call as many as you have smoke grenades for one straight after the other, & the then other two; "GF_Cargo_Airdrops", & "GF_Cargo_Airdrops_Request" seem to have no limit to the number of requests that can be made! one straight after the other. Have I missed something in the scripts? If not would it be possible to either have the Radio request disappear (as in a vanilla none Repeat radio trigger) or a reply saying "Not available at this time", either no more in that mission, or a time delay for the next request accepted. PS I changed the sounds to a C130 which seems to fit. PPS I did change the drop settings to, (see below) but that does not seem to effect the number of requests that can be made //________________ The number of the Cargo to spawn (on random) ________________ // for "_x" from 0 to (5 + (random 10)) do { //________________ For spawn one Cargo ________________ for "_x" from 1 to (1) do { 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 15, 2018 2 hours ago, jgaz-uk said: stuff dropping everywhere Hello there jgaz-uk You can use this script , as a requested airdrop , in a marked with a marker ( created ) , at random marker ( suffle between markers ) , at a marked location with a signal grenade , at the players position or at a radom location on a random time , for a survival scenario. There is available also a radio trigger if you use in game 0,0,1 , or 0,0,2, (check in the init.sqf) but it's not as you said in the supports or with any limitations. This is a nice idea and sure it's good to add this also as an option. I will check to add this in the next update. Once i have some news , i will post here! For anything that you might want feel free to ask ! See you ! Share this post Link to post Share on other sites
HazJ 1289 Posted May 15, 2018 I would use remoteExec, not BIS_fnc_MP. 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 15, 2018 5 minutes ago, HazJ said: use remoteExec, not BIS_fnc_MP. For the playsound should it be better? Share this post Link to post Share on other sites
HazJ 1289 Posted May 15, 2018 I never use BIS_fnc_MP anymore. You should use engine solution commands, etc. The BIS_fnc_MP function is there for backward compatibility only. Quote This function is now provided for backward compatibility only. Please use the engine based commands remoteExec or remoteExecCall instead. I personally wouldn't use playSound in this case. Maybe say3D? Reasons: You can set distance, etc for the sound to be heard. You can set to/from with alt syntax as well if needed. You can delete the sound instantly, without hassle. Just use it on invisible helipad for example. Attach that to vehicle if needed. This way. You can just use deleteVehicle like so: deleteVehicle _soundSource; https://community.bistudio.com/wiki/say3D 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 15, 2018 4 minutes ago, HazJ said: say3D I tried this actually , when i was creating this, but when i tried to set this , in more than 300 meters distance and as far as i checked it , i couldn't hear anything ( in a further distance >300 ) Do you know anything more? Share this post Link to post Share on other sites
HazJ 1289 Posted May 15, 2018 Maybe it has cap on it for alt syntax? Not sure. Show me your code? If you don't need a distance. Use the other syntax. 1 Share this post Link to post Share on other sites
jgaz-uk 132 Posted May 15, 2018 59 minutes ago, GEORGE FLOROS GR said: Hello there jgaz-uk You can use this script , as a requested airdrop , in a marked with a marker ( created ) , at random marker ( suffle between markers ) , at a marked location with a signal grenade , at the players position or at a radom location on a random time , for a survival scenario. There is available also a radio trigger if you use in game 0,0,1 , or 0,0,2, (check in the init.sqf) but it's not as you said in the supports or with any limitations. This is a nice idea and sure it's good to add this also as an option. I will check to add this in the next update. Once i have some news , i will post here! For anything that you might want feel free to ask ! See you ! I had no problem creating a Supdrop mission template using all 3 options & scripts, dropping vehicles or crates with specific contents, with or without markers all good stuff, you solved the problem of the crates disappearing on landing, nice. It was just the unlimited requests, problem, knowing the dudes I game with the crates will be coming down like snow. Keep up the good work sir PS I tried changing the radio request init.sqf settings to "_radio_2 = createTrigger["EmptyDetector",[0,0,1]];" And then tried "_radio_2 = createTrigger["EmptyDetector",[0,0,2]]; didn't notice anything change at all? 1 Share this post Link to post Share on other sites
HazJ 1289 Posted May 15, 2018 Haha. I can imagine. 1000s of crates. @GEORGE FLOROS GR - Suggestion: Add cooldown. 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 15, 2018 1 minute ago, HazJ said: alt syntax I was checking for this. Right now as it works , as an idea it's better in my opinion , because i want everyone , in the whole map , to be able to hear the plane sound , in order to now that there is an airdrop (at the current time ). Share this post Link to post Share on other sites
HazJ 1289 Posted May 15, 2018 If you want everyone to hear it. Just use first syntax. from say3D sound 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 15, 2018 4 minutes ago, jgaz-uk said: It was just the unlimited requests, problem, knowing the dudes I game with the crates will be coming down like snow. Thank you very much jgaz-uk ! Yes this is a real problem , it needs a cooldown as HazJ said , when you 're using this as a request script ! Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 15, 2018 6 minutes ago, HazJ said: from say3D sound This is what i did , but i had this problem not hearing anything in further settings than 300 meters and this is why i used then just playsound instead. Share this post Link to post Share on other sites
Fuga666 7 Posted May 18, 2018 Hello again. Is there a way to make the script choose more than just 1 random item of the different categories? So that it chooses between many different attachments and such. Thanks 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 18, 2018 2 hours ago, Fuga666 said: Is there a way to make the script choose more than just 1 random item of the different categories? So that it chooses between many different attachments and such. In order to do this you could use Hazj's code as he wrote here: ( this is what i was saying at the posts before to HazJ, about thinking differently in randomising the items ) I may also include this as a 3rd option. Share this post Link to post Share on other sites
HazJ 1289 Posted May 18, 2018 You should use this regardless if you use random or not. Last time I looked at your code. You had unreal amount of code lines that was just repeating itself (except for the classname). Bad practice and completely unnecessary. 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 18, 2018 28 minutes ago, HazJ said: random Yes but still , the result of this code , will be as i would like to chose and randomise , only 1 item of each array. I had create this and had in mind a script , for a survival scenario , not for supply needs. It's very good , easy and clear , as you have wrote the code for fulfill a crate. Share this post Link to post Share on other sites
HazJ 1289 Posted May 18, 2018 Even with 1. The main point was that you don't repeat your simple addXXXCargo(Global) over and over. 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 19, 2018 12 hours ago, HazJ said: Even with 1. The main point was that you don't repeat your simple addXXXCargo(Global) over and over. Ok HazJ ! That was a bit retarted conversation because , NOW i realised that you were saying about this part of the code ! On 12/5/2018 at 1:16 AM, GEORGE FLOROS GR said: //________________ Selected loot ________________ if (_4_Not_Random_Loot) then { // systemchat "_4_Not_Random_Loot"; // Item _Cargo addItemCargoGlobal ["Binocular", 5]; _Cargo addItemCargoGlobal ["acc_flashlight", 5]; _Cargo addItemCargoGlobal ["acc_pointer_IR", 5]; _Cargo addItemCargoGlobal ["bipod_03_F_oli", 5]; _Cargo addItemCargoGlobal ["B_UavTerminal", 5]; I was looking in this part: //________________ Add random loot , you need to select this or the one below ________________ if (_3_Random_Loot) then { Just really , next time if you want tell me something , it's easier to talk about lines or just paste the code. All this time , I couldn't understand why you were saying this! I was trying to understand ! https://www.huffingtonpost.com/2011/08/26/are-you-experiencing-a-paradox_n_938148.html Share this post Link to post Share on other sites
socs 92 Posted May 19, 2018 11 hours ago, GEORGE FLOROS GR said: --- Too much to quote--- Hey is there any way to make this spawn random loot inside the crate without manually putting things in it? I need ravage items, ace and whatever other items in the airdrops... But I want it to be random without spawning a ton of stuff either if that makes sense... Know how I would go about doing that? Thank you! 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 19, 2018 8 minutes ago, socs said: spawn random loot inside the crate without manually putting things in it? I need ravage items, ace You can just edit the loot list to your needs and add anything you like. Share this post Link to post Share on other sites
jgaz-uk 132 Posted May 31, 2018 Any progress with a "cooldown" time setting or a number limit for requests yet? 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 31, 2018 1 hour ago, jgaz-uk said: Any progress To be honest , i forgot it , because i'm working with my new GF Blood Stains Script ! Spoiler I will make this release soon and then i will check for this also. 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted June 15, 2018 On 15/5/2018 at 6:32 PM, jgaz-uk said: a reply saying "Not available at this time", either no more in that mission, or a time delay for the next request accepted. Hello there jgaz-uk ! Here is a quick solution , i will include this option in the next update. If you have something else , feel free to share! See you for now ! Share this post Link to post Share on other sites
jgaz-uk 132 Posted July 1, 2018 OK thanks for that, (was away on holiday) 1 Share this post Link to post Share on other sites