Havoc04 Posted March 5, 2018 Posted March 5, 2018 (edited) Hi guys. Just creating a mission for me and a couple of mates to do target practice on 3 groups of enemy vehicles consisting of between 5-10 in each group. I have the latest M.I.S.T downloaded. And as far as i can see MIST can do it but i am VERY unsure on how to tell the group when destroyed to re spawn after all in the group are gone. I would appreciate any detailed info to my problem. Regards Mike Edited March 5, 2018 by Havoc04
Johnny_Rico Posted March 5, 2018 Posted March 5, 2018 (edited) use mist.respawninZone function 1. create a group eg called "SPAWN_1 2. create a zone say 900 in size called ZONE_1 3. create a switched trigger that checks group dead SPAWN_1 , and the action will be to call the mist.respawninZone function if you need anymore help just post again Edited March 5, 2018 by Johnny_Rico METAR weather for DCS World missions Guide to help out new DCS MOOSE Users -> HERE Havoc Company Dedicated server info Connect IP: 94.23.215.203 SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245 Please contact me HERE if you have any server feedback or METAR issues/requests
feefifofum Posted March 5, 2018 Posted March 5, 2018 Johnny Rico's method will work but only one time; if you require multiple respawns here is how you'd accomplish it: Trigger 1 Type: ONCE type, NO EVENT Conditions: None Triggered Actions: DO SCRIPT FILE (mist_4_3_74.lua) download MiST here, right click and save link as Trigger 2 Type: CONTINUOUS ACTION, NO EVENT Conditions: Time more (2) Triggered Actions: DO SCRIPT and paste the following into the script container: if not Group.getByName('Vehicles') then mist.respawnGroup('Vehicles', true) end After the vehicles are destroyed they will respawn at the same point of origin and perform their original tasking again. THE GEORGIAN WAR - OFFICIAL F-15C DLC
Havoc04 Posted March 6, 2018 Author Posted March 6, 2018 (edited) Thankyou guys for the detailed description :) I'll use you're method Feefifofum. As i would like unlimited spawns 1 Question In the initialisation script area do i put in mist_4_3_74.lua. Question 2 Can you place a timer on the re spawn. Say 1 min after group is destroyed then the re spawn? Ok i got an error when starting the game. And what i have for the trigger. https://imgur.com/a/M1CMh Regards Mike Edited March 6, 2018 by Havoc04
Havoc04 Posted March 6, 2018 Author Posted March 6, 2018 Ok i got rid of the error. As i had previously called the group Enemy Vehicle 1 and the script was calling for Vehicles. So thats fine. Did a test run and the entire group was destroyed but the group didn't respawn. To add to that if i were to say have 3 groups eg: Vehicle 1 Vehicle 2 vehicle 3. Would i have to create 2 extra Trigger 2 Type: CONTINUOUS ACTION, NO EVENT Conditions: Time more (2) Triggered Actions: DO SCRIPT and paste the following into the script container: Code: if not Group.getByName('Vehicles') then mist.respawnGroup('Vehicles', true) end ?? Regards Mike
feefifofum Posted March 6, 2018 Posted March 6, 2018 Yes, in its simplest form you'd need a trigger with the appropriate name for each group. If it's not working for you, double check that the format is exactly correct, that's a direct copy-paste from the Hoggit wiki. More info here: http://wiki.hoggit.us/view/RespawnGroup THE GEORGIAN WAR - OFFICIAL F-15C DLC
Havoc04 Posted March 6, 2018 Author Posted March 6, 2018 feefifofum As requested my .miz below. Thxs mate Regards MikeMultiplayer Training Extended.miz
feefifofum Posted March 6, 2018 Posted March 6, 2018 Welllll, that should have worked just fine to the best of my knowledge, but as you've noted it definitely did not. Since this is a relatively simple concept, I built a quick workaround that just checks for the presence of any red forces inside of the three target areas. If no red forces are present (because they have been destroyed), the group will respawn at a slightly randomized location so you don't have live vehicles inside of dead ones.Multiplayer Training Extended.miz THE GEORGIAN WAR - OFFICIAL F-15C DLC
Havoc04 Posted March 6, 2018 Author Posted March 6, 2018 feefifofum thxs for you're SUPER EFFORT mate. We will really appreciate what you have done :) Maybe the other script does not work properly with 2.5? At any rate i used you're methods on my original mission as i had added stuff did a quick AI CAS and when the last target got snuffed the group respawned as you said in a slightly different area within the zone. HATS off mate. Thxs for you're time on this Regards Mike
Havoc04 Posted March 6, 2018 Author Posted March 6, 2018 I would give you Rep mate but dont see how to do that.
feefifofum Posted March 6, 2018 Posted March 6, 2018 Seems like they removed the system yesterday. :dunno: THE GEORGIAN WAR - OFFICIAL F-15C DLC
Recommended Posts