assafm25 Posted May 29, 2024 Posted May 29, 2024 Hello, I working on a mission and like to create massage to the player that count all the live units inside zone. any idea how to make it? [sIGPIC][/sIGPIC] IAF Bell205 IAF Anafa ----------------------- DCS World Modules: A-10C, FC3, MiG-21BiS, F-86, P-51, KA-50, UH-1H Huey, Mi-8, M2000K, Gazal, Bf109, Mig-15, Hawk and NTTR ----------------------- My System - ASUS Maximus HERO iiiv, CoolMaster 120 Sadion Plus, I7 -6700K @4.0, G.Skill ddr4 16GB ram, Gigabyte GTX 1070 G1 , PSU Seasonic X-650W, OCZ 150 500Gb ssd drive X2, Seagate 7200 1T X2. -------------
TEMPEST.114 Posted May 29, 2024 Posted May 29, 2024 (edited) via scripting or M.E.? I suggest you have a variable (flag) that works as a counter and use the UNIT IN ZONE to increment it and UNIT OUTSIDE ZONE to decrement it. Edited May 29, 2024 by TEMPEST.114
assafm25 Posted May 29, 2024 Author Posted May 29, 2024 No matter I think script is much easier [sIGPIC][/sIGPIC] IAF Bell205 IAF Anafa ----------------------- DCS World Modules: A-10C, FC3, MiG-21BiS, F-86, P-51, KA-50, UH-1H Huey, Mi-8, M2000K, Gazal, Bf109, Mig-15, Hawk and NTTR ----------------------- My System - ASUS Maximus HERO iiiv, CoolMaster 120 Sadion Plus, I7 -6700K @4.0, G.Skill ddr4 16GB ram, Gigabyte GTX 1070 G1 , PSU Seasonic X-650W, OCZ 150 500Gb ssd drive X2, Seagate 7200 1T X2. -------------
TEMPEST.114 Posted May 29, 2024 Posted May 29, 2024 1 minute ago, assafm25 said: No matter I think script is much easier If you know scripting, then this should already be kinda obvious, but I'd start with this: https://wiki.hoggitworld.com/view/DCS_func_getDetectedTargets based at the location of a the trigger zone and go from there.
assafm25 Posted May 29, 2024 Author Posted May 29, 2024 Thanks but this only for targets that detected by some sensors. I looks for something in level of ZONE or coalition. [sIGPIC][/sIGPIC] IAF Bell205 IAF Anafa ----------------------- DCS World Modules: A-10C, FC3, MiG-21BiS, F-86, P-51, KA-50, UH-1H Huey, Mi-8, M2000K, Gazal, Bf109, Mig-15, Hawk and NTTR ----------------------- My System - ASUS Maximus HERO iiiv, CoolMaster 120 Sadion Plus, I7 -6700K @4.0, G.Skill ddr4 16GB ram, Gigabyte GTX 1070 G1 , PSU Seasonic X-650W, OCZ 150 500Gb ssd drive X2, Seagate 7200 1T X2. -------------
TEMPEST.114 Posted May 29, 2024 Posted May 29, 2024 1 hour ago, assafm25 said: Thanks but this only for targets that detected by some sensors. I looks for something in level of ZONE or coalition. https://wiki.hoggitworld.com/view/DCS_func_searchObjects 1
assafm25 Posted May 29, 2024 Author Posted May 29, 2024 Thanks [sIGPIC][/sIGPIC] IAF Bell205 IAF Anafa ----------------------- DCS World Modules: A-10C, FC3, MiG-21BiS, F-86, P-51, KA-50, UH-1H Huey, Mi-8, M2000K, Gazal, Bf109, Mig-15, Hawk and NTTR ----------------------- My System - ASUS Maximus HERO iiiv, CoolMaster 120 Sadion Plus, I7 -6700K @4.0, G.Skill ddr4 16GB ram, Gigabyte GTX 1070 G1 , PSU Seasonic X-650W, OCZ 150 500Gb ssd drive X2, Seagate 7200 1T X2. -------------
Recommended Posts