pierre0000 Posted Saturday at 09:08 PM Posted Saturday at 09:08 PM Hi guys! I do not manage in my missions to detect using a trigger the death of a unit or multiple units which have been randomly spawned using the DML script RND! I attached a test mission with 3 trucks and a flyable Mi24p. When you use a F10 command to kill all units (the one that spawned + the 2 others) it detects the death of the three unit, but when you destroy just the one that spawned, it is not detected. I tried a trigger with the condition "UNIT DEAD" with each of the 3 units, doesn't work, I think the the game thinks that the 3 units are here, even if just one is visible. I tried a "GROUP OUT OF ZONE" trigger , but as they spawn a millisecond after the mission starts, it is immediately triggered. And if I add a "ABSOLUTE TIME MORE" and sets 5 seconds for instance, it doesn't work as well. Do you have any idea? Thanks in advance and have a great night or day! test.miz
cfrag Posted yesterday at 09:21 AM Posted yesterday at 09:21 AM (edited) Hmmmm. I had a quick look at the miz that you kindly attached. Using Comms -> F10 Other->Kill does not kill anything You do not seem to be using DML to spawn the units. You are using RND to trigger a trigger rule that activates a late activation group. I recommend using a cloner for each, and trigger each of the cloners using RND. Although you can mix old-school trigger rules with DML, DML often has much better, easier tools ready for you to use. Edited yesterday at 09:24 AM by cfrag
Recommended Posts