Naj-Treg Posted October 23, 2016 Posted October 23, 2016 Hi, I am working on a multiplayer mission wich needs to do a recon first to get targets visible. I know how to make the targets visible when a given unit enters the zone. But what i want to achieve is that a plane, (in my case a TF-51) fly through the given zone, then returns to base and lands. When the plane lands the targets will spawn so they can be attacked. Basicly i need to know how to spanw an object when a given plane lands. Is this possible? If so can someone explain me how to achieve this? Ps. I am a noob @ scripting....:cry: I searched alot on this but cant find an answer. Naj-Treg
MadDog-IC Posted October 23, 2016 Posted October 23, 2016 Hi, I am working on a multiplayer mission wich needs to do a recon first to get targets visible. Naj-Treg Something like this. Make Enemy target units ---------------------------- Tank platoon -> set as late start Zones ------- Make "target area" over the Tank platoon and "airfield" over the landing airfield. Triggers --------- Plane sees tank -> If unit "Tf-51" in zone (target area) -> set Flag 1=true Plane returns and Lands -> If unit "Tf-51" in zone (airfield) and unit "Tf-51" speed is <1 and Flag 1=True -> Activate "Tank Platoon" -- This checks that you have flown over the area and spotted the tank platoon first and that you have landed and parked before enabling the tanks. Regards, Ian. Asus p877v-pro, Intel I7 3770k 4.2ghz, 32gb Ripjaw X ram, Nvidia RTX-2070 Super, Samsung 32" TV, Saitek x52 pro Joystick and Combat rudder pedals, TrackIR 5, Win8.1 x64 with SSD and SSHD protected by (Avast AV). DCS Tech Support.
ESAc_matador Posted October 23, 2016 Posted October 23, 2016 See if you like this script i made https://forums.eagle.ru/showpost.php?p=2899133&postcount=22 It gives you the report of groud vroups lat long position. So you can keep the fog of war totally. After landing, you ask for the report through F10radio menu. I gives you unita and static objects. Then go to F10 map and pkot the enemies.
Naj-Treg Posted October 23, 2016 Author Posted October 23, 2016 Something like this. Make Enemy target units ---------------------------- Tank platoon -> set as late start Zones ------- Make "target area" over the Tank platoon and "airfield" over the landing airfield. Triggers --------- Plane sees tank -> If unit "Tf-51" in zone (target area) -> set Flag 1=true Plane returns and Lands -> If unit "Tf-51" in zone (airfield) and unit "Tf-51" speed is <1 and Flag 1=True -> Activate "Tank Platoon" -- This checks that you have flown over the area and spotted the tank platoon first and that you have landed and parked before enabling the tanks. Regards, Ian. Thank you for your reaction :) I know how you want to setup this. But am struggeling how to setup the flags in the triggers. can you give me an example or explain how to setup the 'TYPE' 'CONDITIONS' and 'ACTIONS' Naj-Treg
Naj-Treg Posted October 23, 2016 Author Posted October 23, 2016 See if you like this script i made https://forums.eagle.ru/showpost.php?p=2899133&postcount=22 It gives you the report of groud vroups lat long position. So you can keep the fog of war totally. After landing, you ask for the report through F10radio menu. I gives you unita and static objects. Then go to F10 map and pkot the enemies. Thank you for your reply :thumbup: Scripting is a bit too much for me... Just starting with the basics of mission building and triggers. Will have a look on it later on. Naj-Treg
feefifofum Posted October 23, 2016 Posted October 23, 2016 Using Maddog's example: Type 1 ONCE (tanks spotted, NO EVENT) Conditions UNIT INSIDE ZONE (Player, targetarea) Triggered actions FLAG ON (1) For the first one. For the second Type 1 ONCE (player landed, NO EVENT) Condition UNIT INSIDE ZONE (player, landed) UNIT'S SPEED LESS THAN (player, 1) FLAG IS TRUE (1) Triggered actions GROUP ACTIVATE (tanks) THE GEORGIAN WAR - OFFICIAL F-15C DLC
Naj-Treg Posted October 23, 2016 Author Posted October 23, 2016 Using Maddog's example: Type 1 ONCE (tanks spotted, NO EVENT) Conditions UNIT INSIDE ZONE (Player, targetarea) Triggered actions FLAG ON (1) For the first one. For the second Type 1 ONCE (player landed, NO EVENT) Condition UNIT INSIDE ZONE (player, landed) UNIT'S SPEED LESS THAN (player, 1) FLAG IS TRUE (1) Triggered actions GROUP ACTIVATE (tanks) :thumbup: Thanks alot! it works:thumbup: This is exactly what i wanted to create. learned something new today:smartass: Spending more time mission building then flying lately. :doh: But i like it Naj-Treg
Recommended Posts