OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: aurek on 10 Apr 2003, 21:27:28

Title: check if you have been detected
Post by: aurek on 10 Apr 2003, 21:27:28
Ok how do I create an array containing all the players group and all of the enemy side.

Then check (knowsabout) if they see me so I can set off a base alarm (know how to do that bit)

thanks :)
Title: Re:check if you have been detected
Post by: Igor Drukov on 10 Apr 2003, 21:48:22
Is it not sufficient for you to create a trigger, detected by the side you want, and to link it to the intruding group (using the F2 menu) ? Then, you'd choose "activated by any group member / vehicle / group leader". It works fine, but do you want to do something else ?
Title: Re:check if you have been detected
Post by: MadFred on 10 Apr 2003, 22:10:28
Hello Aurek,

I've Made you a small example that should give you the idea!

Title: Re:check if you have been detected
Post by: aurek on 11 Apr 2003, 10:29:28
Fantastic! thank you! :)
Title: Re:check if you have been detected
Post by: MadFred on 11 Apr 2003, 12:40:58
you're welcome m8!