wogz187 1086 Posted July 6, 2019 I propose a community project for this thread, BAD LUCK. Write a script snippet that applies a negative effect on the player character whenever the variable Badluck==1. Example Engine overheat EngineStallh = [] spawn { waitUntil { sleep 0.5; Badluck==1 && (getPos xPLANE) select 2 > 300 && speed xPLANE > 400 }; xPLANE engineON false; vehicle player setHit ["motor", 1]; sleep 40; hint "Try the engine again"; vehicle player setHit ["motor", 0]; sleep 4; hint "": }; It could be anything. A fog cloud suddenly obscuring a target, equipment lost to a hole in a sack or weapon jams. Anything that makes the player hiss and say, "Damn-it! Bad luck!". Submit your script snippets below and let's see what kind of mean, gnarly challenges we can come up with. It would be hilarious to spawn a tank on the player's head but not very useful in a real mission. Try to keep it useful-- but still clever and fair. One more example, //naked player if (Badluck==1 && getdammage player > 0) then { hint "Your uniform is tattered and fell off"; removeUniform player; sleep 120; player addUniform "U_C_poloshirt_salmon"; hint "You found some common clothes"; sleep 4; hint ""; }; 1 Share this post Link to post Share on other sites
killzone_kid 1330 Posted July 7, 2019 player setDamage 1; hint "You have unexpectedly passed away, better luck next time, chap!" 1 5 1 1 Share this post Link to post Share on other sites
beno_83au 1369 Posted July 7, 2019 waitUntil {badLuck == 1}; player setVelocity [0,0,∞ + 1]; hint parseText "<img image=''/>" 8 Share this post Link to post Share on other sites
wogz187 1086 Posted July 7, 2019 @killzone_kid Quote player setDamage 1; hint "You have unexpectedly passed away, better luck next time, chap!" Nice. But you forgot the variable. Suggest: waitUntil { sleep 0.5; Badluck==1 && SickAunt==0 }; hint "Your timely aunt has passed away and you're stricken with grief." player setDamage 0.5; playSound ["WoundedGuyC_03", true]; //weeping sleep 5; hint "It hurts to miss somebody."; sleep 5; player setDamage 0.8; hint "Sometimes it feels like you're gonna die."; sleep 5; player setDamage 0; hint "But you can't. You have to carry on." sleep 5; hint "Because that's what aunty would want for you."; }; @ben0_83au, Nicely done! 2 Share this post Link to post Share on other sites
killzone_kid 1330 Posted July 7, 2019 9 minutes ago, wogz187 said: Nice. But you forgot the variable I haven't. You place it at the beginning of init.sqf 1 Share this post Link to post Share on other sites
pierremgi 4875 Posted July 8, 2019 Bad luck is too easy. Just play Arma as leader of a group of AIs. Good luck is far more difficult! 1 6 Share this post Link to post Share on other sites
wogz187 1086 Posted July 9, 2019 @pierremgi, Quote Bad luck is too easy. Just play Arma as leader of a group of AIs. So something like this, //Trooper Lead if (Badluck==1 && KlendathuINV==1) then { 6thMID= [player, player, player, player] call BIS_fnc_selectRandom; group player selectLeader 6thMID; hint "You got promoted, Rico!"; sleep 4; hint ""; Carl sidechat "Every day I have to make decisions that send hundreds of people like you to their deaths."; Rico sidechat "Didn't they tell you, Colonel? That's what the Mobile Infantry is good for."; [true,["task1"],["Bug Planet","Destroy","BrainBUGmark"],planetKLENd,1,3,true] call BIS_fnc_taskCreate; }; Share this post Link to post Share on other sites