Jump to content
Sign in to follow this  
Tand3rsson

Ok, somebody must know this.

Recommended Posts

Ok, here is what I want, one objective on my mission is to place a IR Target Strobe. IR_Target_Strobe is the code for that one. When the strobe is placed in the correct posistion I want that objective to be complete. I found this:

((count ((markerpos "CheckSmoke") nearObjects ["SmokeshellGreen",50])) > 0)

Which as I understood it was to make a chopper come when a green smoke was thrown in a specific are (50 m away from a marker namned CheckSmoke".

Cant get that to work either...

Share this post


Link to post
Share on other sites

((count ((markerpos "CheckSmoke") nearObjects ["SmokeShellGreen",50])) > 0)

((count ((markerpos "CheckSmoke") nearObjects ["IRStrobe",50])) > 0)

Example/test mission: _detectThrownStuff.Desert_E.rar

Share this post


Link to post
Share on other sites

Thanks for reply :)

One more Question though; So it would look like this;

I place marker, name it CheckSmoke.

I place ((count ((markerpos "CheckSmoke") nearObjects ["IRStrobe",50])) > 0) in what, a trigger or a gamelogic?

---------- Post added at 04:25 PM ---------- Previous post was at 04:22 PM ----------

OK, never mind :) tried it out with a trigger and code as condition. Worked perfectly :D :D

THANK YOU THANK YOU :)

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  

×