Jump to content
Sign in to follow this  
paco_schumi

Check if a unit has opened fire

Recommended Posts

Hi mates!

I'm trying to make a mission where you have to infiltrate as a "civilian" in an enemy base. I have used the setcaptive function. Now what I need is a way to set setcaptive = false if this unit open fire.

Is there a way to do this?

Thanks!

Share this post


Link to post
Share on other sites

Thank you! It works!

---------- Post added at 12:14 ---------- Previous post was at 11:22 ----------

Another question :D

How can I put a bomb and the enemies don't consider me an enemy? or how can I put a make a remote activated bomb car?

ty in advance!

Share this post


Link to post
Share on other sites

Hey Paco_schumi how did you get it to work? I am trying to implement this into my scripting ?

Share this post


Link to post
Share on other sites

Answer to the first question, in the EH arguments you may see what weapon has been fired, so an exceptio nlike if _this select 1 != "weapon you want to exclude" then civilian setcaptive true etc.. will work.

Excellent also If you want to exclude your civilian when fires a supressed weapon etc..

the second question requires some scripting, but AFAIK in armaholic you may find some made scripts that cover this.

Share this post


Link to post
Share on other sites

could anyone point me in the direction for this? i am trying to use it for my C-ram

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
Sign in to follow this  

×