lax 10 Posted January 21, 2012 Hi, I am making a mission where about 30 players are going to be para-dropping and then assaulting a town. I am going to be using the Murk-Spawn script to make the enemy spawn in the town so we can kill them. The C-130 is going to be making multiple passes over the DZ. The problem is, I don't want to have the C-130 fly over the town, spawn all the enemies, then screw up the mission. I need a way to have the trigger that spawns the enemies only activate if the infantry enters the field not the C-130 or any other Air unit. Is this possible? Share this post Link to post Share on other sites
merlin 17 Posted January 22, 2012 I'm not terribly knowledgable about scripting but if you're using triggers on the map you could just group it to the group leader and change the type from "vehicle" to "any group member". I believe you would have to do this multiple times for multiple groups.The trigger should only be fired when one of the group members is in the area with this approach. Share this post Link to post Share on other sites
lax 10 Posted January 22, 2012 I'm not terribly knowledgable about scripting but if you're using triggers on the map you could just group it to the group leader and change the type from "vehicle" to "any group member". I believe you would have to do this multiple times for multiple groups.The trigger should only be fired when one of the group members is in the area with this approach. Thats why I was thinking but the problem is that the C-130 is going to be making 2 Passes over the DZ so when it passes through the trigger zone, half of the men will still be inside. I need 2 passes because Im dropping 30 men and we have to use a 1.5km DZ. Maybe there's a way to make it so nothing in the plane will set off the trigger. Im not sure :/ Share this post Link to post Share on other sites
Charles Darwin 10 Posted January 22, 2012 this && ({_x isKindOf "LAND"} count thisList)>0 in the activation filed of your trigger "LAND" is the CFG class..it can use any level in this list so TANK would work just as well as "2S6M_Tunguska" for example Share this post Link to post Share on other sites
zonekiller 175 Posted January 22, 2012 this && (count (thislist unitsBelowHeight 10) > 0) Share this post Link to post Share on other sites
Charles Darwin 10 Posted January 22, 2012 ooh a command I was unaware of..thank you zone Share this post Link to post Share on other sites
lax 10 Posted January 22, 2012 (edited) this && (count (thislist unitsBelowHeight 10) > 0) EDIT: Works perfectly. Thank you very much. You just gave me a very useful tool. Edited January 22, 2012 by lax Share this post Link to post Share on other sites
shuko 59 Posted January 22, 2012 Using "this" with "thislist" is not necessary, because all the activation settings already are applied to the thislist list. Share this post Link to post Share on other sites