Jump to content
Sign in to follow this  

Recommended Posts

Hello,

I searched but found nothing that could help me accomplish this. I created a MOUT area that has triggers in it, which are activated by Blufor. Now I am looking for a way to get the Instructors not to activate these triggers but only the trainee's. The trainees are not grouped together, they are seperate, and I tried to group each trigger with each individual unit that I want for to activate it, but it will only allow me to link the triggers to 1 unit, and I dont want to group them. If anyone could help me out, it would be much appreciated.

Thanks.

Share this post


Link to post
Share on other sites

You could put this (untested) into the trigger condition:

this && !( (count thisList == 1) && (instructorName in thisList) )

That should prevent the trigger from firing if only the instructor is in it (obviously, replace 'instructorName' with the variable name given to your instructor unit).

Share this post


Link to post
Share on other sites

Hello again,

Okay now I am having a new problem, whenever the trainee is in the MOUT area along with the Instructor the trigger wont activate. I know the trigger is not suppose to work on the instructor, but the instructor sometimes needs to be in the area to be able to correct and give direction to the trainee as to what to do, watch and correct them when doing something wrong. So is there anyway that I can fix the problem that if the trainee is in their the trigger would activate even if the instructor is their?

I do appologize about this but I noticed it today, any help would be appreciated.

Thanks.

Share this post


Link to post
Share on other sites

Unless I've made some logic error (which I certainly can't see this close to waking up), then what I gave you above should do just that. I'm not able to test at present, probably not until later this evening. If anyone else can point out an error, though, be my guest :)

Share this post


Link to post
Share on other sites

Set the trigger to be activated by BLUFOR and then try this:

(count thislist > 1) OR !(instructor in thislist)

If my brain doesn't cheat me at this early morning hour it should work... :D

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  

×