Jump to content

Recommended Posts

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

in initPlayerLocal.sqf

 

player addEventHandler ["fired", {if (_this select 4 == "SmokeShellPurple") exitWith {<your code for CAS here>}}];

  • Like 1

Share this post


Link to post
Share on other sites

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
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×