sollrmartyn 15 Posted September 25, 2014 This script will set some visual effects and a smoking soldier. Unfortunately this script checks not if you have "cigarettes". I am working on a mod version. Script: Simple Smoking Script Version: 20140926 Clan: Sol-diers - Tactical gaming Website: https://www.sol-diers.com Hyperlink: https://sol-diers.com/?l=downloads&&load=10&&l3=3 Author: Martyn of Sol-diers Mail: martyn@sol-diers.com The download will contain the script and an example mission. Download: https://sol-diers.com/arma3/scripts/3.zip To start the script write in your init.sqf following text: [] execVM "simple_smoking_script\init.sqf"; For question, help, critism, etc contact me via email, website or Teamspeak 3. Your Martyn Share this post Link to post Share on other sites
Beerkan 71 Posted September 25, 2014 addaction didn't work for me because I don't use a dedicated server and this piece of code worked perfectly. i.e. didn't execute. I had to change this in your script. // Clients will exit here // Just a dedicated server will // execute the script if (!isDedicated) exitWith {}; to... // Clients will exit here // Just a dedicated server will // execute the script if (!isServer && hasInterface ) exitWith {}; Share this post Link to post Share on other sites
Von Quest 1161 Posted September 26, 2014 Oh, this sounds cool. I was going to do the same thing. :cool: Share this post Link to post Share on other sites
sollrmartyn 15 Posted September 26, 2014 Oh, this sounds cool. I was going to do the same thing. :cool: Nice to hear that I do things that the community wants to have :-D @Beerkan - nice idea. I never imagined to run the script on a non dedicated. (Maybe thats my personal thing, xD). If you changes works I will upload a new version of this script. Thanks for your report! Good work! Your Martyn Share this post Link to post Share on other sites
sollrmartyn 15 Posted September 26, 2014 Alright I found a little problem with the addaction. The right script works for the multiplayer and singleplayer. But the addaction is not the best things. I will work on it or maybe try a combination of keys like strg + shift + 8. Stay patient! Your Martyn Share this post Link to post Share on other sites
sollrmartyn 15 Posted October 21, 2014 UPDATE: Im still working on this. Share this post Link to post Share on other sites
badluckburt 78 Posted October 21, 2014 Awesome :) I had one in my last Fallout NV playthrough. The cigarette check would be sweet, any chance we could get some cubans too? :) Share this post Link to post Share on other sites
killzone_kid 1326 Posted October 21, 2014 (edited) addaction didn't work for me because I don't use a dedicated server and this piece of code worked perfectly. i.e. didn't execute.I had to change this in your script. // Clients will exit here // Just a dedicated server will // execute the script if (!isDedicated) exitWith {}; to... // Clients will exit here // Just a dedicated server will // execute the script if (!isServer && hasInterface ) exitWith {}; !isDedicated means all clients including host (if hosted MP) but not dedicated server. !isServer should be enough. Edited October 21, 2014 by Killzone_Kid Share this post Link to post Share on other sites