La Migra 0 Posted September 13, 2017 How would I be able to detect if a player throws a purple smoke and then have CAS fire on the target? Share this post Link to post Share on other sites
pierremgi 4890 Posted September 13, 2017 in initPlayerLocal.sqf player addEventHandler ["fired", {if (_this select 4 == "SmokeShellPurple") exitWith {<your code for CAS here>}}]; 1 Share this post Link to post Share on other sites
bad benson 1733 Posted September 13, 2017 https://community.bistudio.com/wiki/Arma_3:_Event_Handlers attach a "fired" one of these to the player and check the "projectile" parameter and compare it with the class name of the color of smoek you need. 1 Share this post Link to post Share on other sites
La Migra 0 Posted September 14, 2017 Thanks, how would I be able to spawn a CAS module on the purple smoke's location? Share this post Link to post Share on other sites
reaper lok 82 Posted September 15, 2017 2 hours ago, La Migra said: Thanks, how would I be able to spawn a CAS module on the purple smoke's location? Not that this will answer your question but have you ever looked into the ALiVE mod? http://alivemod.com This has some amazing features including CAS support etc. Share this post Link to post Share on other sites
La Migra 0 Posted September 15, 2017 No I haven't, I'll look at it on their website. Thanks Share this post Link to post Share on other sites