BenMorton 0 Posted March 12, 2004 I’ve been working on this mission for a couple of weeks now and I am finished except for 3 things, which I’m stuck on. 1)I need a trigger to activate when it detects two specific trucks enter its radius. This one I have only tried to use the group thing to trigger and vehicle but that wont work for them both. 2)I need a trigger to activate when one of two soldiers are killed. This one I have this bit of code {alive _x} count [su1, su1_1, su1_2 etc...] == 0 but it only works if they both die. 3)An easy way to make a group of soldiers start off in cargo of a truck. And this one I can only get working if I add each player in the group individually by using the moveincargo in each init field. (Must be an easier way) Any help is welcomed Regards Ben Morton Share this post Link to post Share on other sites
Harkonin 0 Posted March 12, 2004 1)Truck1 distance whateveryouwant <= radius && Truck2 distance whateveryouwant <= radius 2)not alive unitname or not alive unitname 3)"x moveincargo vehiclename" foreach units groupname Share this post Link to post Share on other sites
BenMorton 0 Posted March 12, 2004 Ok thank you Harkonin Two and three now work but I still cant get the first one working could you explain it in a little more detail please. thank you. Ben Morton Share this post Link to post Share on other sites
Harkonin 0 Posted March 12, 2004 Place a gamelogic and name it then make a trigger with a radius of 0x0 Condition of :truck1name distance gamelogicname <= distanceyouwant && Truck2name distance gamelogicname <= distanceyouwant On Activation: Whatever you want it to do Share this post Link to post Share on other sites
MrZig 0 Posted March 12, 2004 For an example of that, say you want something to happen when they are both < 50 metres from it <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">truck1 distance gamelogic <= 50 && Truck2 distance gamelogic <= 50 Share this post Link to post Share on other sites