OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: punisher on 18 Jul 2011, 18:06:02
-
Hey, im making a convoy type mission where a scout will go ahead to recon the area before the main group.
If the scout detects the enemy i want to mission to end, but it does not matter if the main convoy knows about them. Any ideas?
-
Knows About (http://community.bistudio.com/wiki/knowsAbout) would work, create a trigger and make the condition field...
reconJeep knowsAbout enemy1 >= 3.5 or reconJeep knowsAbout enemy2 >= 3.5
May need a bit of tinkering with, I'm not sure what value is set as recongnised as enemy so just edit the 3.5 from 0 to 4 until it works like you want it to.
Then put what ever you want in the activation field.
Depending on the amount of enemies in your mission there is probably a better method of doing this. But the above should work.
-
Thanks '1.0' seems to work