

HungryCoyote
Members-
Posts
191 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by HungryCoyote
-
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
Tested and working in multiplayer. Again you have made my day. Thank you. -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
So now I am trying to get this to work for the spawned troops the way it does for vehicles. I edited the attack script but not working. I believe it is due to the way dcs names the troops. For vehicles, it is Cargo Group 10001, Cargo Group 10002, etc. For troops, it is Soldier_Group_12001. I have a feeling it is the underscore that is messing it up. Basic Herc Troops Attack not work.miz -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
For anyone else interested in this but not sure how to do triggers,etc, here is a simple mission with everything setup. You can edit it to suit your needs and see how it is all put together. Basic Herc Cargo Attack.miz -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
Very nice. Thank you. -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
Upon further testing, I realize that it is not moving one from each group of three but one at a time starting with the first group, then continuing with the second group. So users will have to use F10 command once for each vehicle dropped. This might actually be a good thing because the mod has the option to drop one at a time or all three at once. Again, I just want to say thank you for all you help and patience. It is very much appreciated. -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
Small problem. It works fine if you only load one vehicle at a time. If you do two or three, only one of them moves toward the enemy. -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
I understand. -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
Wow, that's some serious code there. We are getting close to the danger zone of "in over my head". lol I was a bit wary of editing the script that creates the group as it is not mine but came with the Hercules mod and I was not sure how to edit it. I will copy/paste this code to it. I thought the main reason of editing the drop.script file was to eliminate the need for the F10 menu. -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
That works great. Exactly what I wanted. Thank you. One question, instead of a lot of repeated lines, is it possible to use a variable for the dropped units? The number increases by one with each unit dropped. MoveToNearEn('Cargo Group 10001') MoveToNearEn('Cargo Group 10002') MoveToNearEn('Cargo Group 10003') -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
Just off the top of my head, I wonder if rather than having the MoveTo trigger run at missing start, it could be on an F10 menu. Once the units are spawned, give them the command to attack. I will give that a try. . . Yes, that works very well. Since this will be on a dedicated server with lots of enemy groups spawning at random locations, I will defiantly need to figure out how to get the dropped units, as you said, to choose the closest enemy, within a max distance or in a zone. -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
Thank you for taking the time to make this. Unfortunately it does not work on spawned vehicles. I 'm guessing because at the time of script running, the vehicle to be spawned does not yet exist in game. I think it would need an If exist type statement. -
How can I get ground units to attack all enemy in a zone?
HungryCoyote replied to HungryCoyote's topic in Mission Editor
Yes that is what I need but I don't know how to write script. I just knew I had seen it working. -
DCS Super Hercules mod by Anubis
HungryCoyote replied to Eight Ball's topic in Flyable/Drivable Mods for DCS World
Anyone know how to get the Hercules mod to spawn cargo after parachute drop on a dedicated server? It works fine in single player using a trigger to load the Hercules_Cargo.lua. -
Apache600's Community Missions
HungryCoyote replied to Apache600's topic in User Created Missions General
Just want to say a big thank you for all the work you have put into these missions! -
I would like to add an option to my server where players can scout out new locations and by using the F10 menu, create a new usable farp.
-
Works great. Thank you.
-
My aircraft that are spawned using Mist will not follow waypoints or maintain altitude and usually fly into the ground. How can I fix this? mist.respawnInZone('Migs', 'New Trigger Zone-1', true, 500) Respawn Test.miz
-
Very cool. Thank you.
-
This works great for my needs. Just an fyi for anyone else using this, It works for everything except statics. Again, thank you very much.
-
This is working really well. One quick question, Is there a way to get it to log static buildings killed?
-
Thank you very much for your help and patience.
-
Simple test mission. Shoot down enemy plane, wait five minutes. Nothing happens. log test.miz
-
This looks like exactly what I need. I am embarrassed to say I am not sure how to set it up. I commented the two lines and set up a trigger. What else am I missing?
-
I will look into that. May be over my head but thanks.