Jump to content

AMBeXT

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by AMBeXT

  1. thanks heaps @Grimes ! Re Unit / Group that makes a bit more sense. Possibly worth having that in the wiki (and also indicating what is trigger.action.setAITask ID # ref to I reckon) - I am happy to contribute as appropriate on this. Re your point of behavior of the follow command when tasks get assigned to the unit controller - I would have to test a bit more myself to make sure I comprehend it all - thanks for pointing though.
  2. DCS Log and Trak file attached 230918 task follow bug track.trk
  3. here you go. two leads, Aerial-1-1 on the right (East) and Aerial-3-1 on the left (West), both with a wingman with an initial follow echelon left (x = -80, z = -80). You can confirm they are following as they are not tracking towards their respective waypoints 1, which are offset to leads trajectory. Once in the player slot (don't bother flying the plane) with the F10 menu you can ask either of the leads to do a turn to their outside. Aerial-1-1 is tasked with a Controller.setTask Aerial-3-1 is tasked through trigger.action.setAITask You will see that when tasked through F10: Aerial-1-1 will properly do its turn to its right, but then its wingman Aerial-2-1 is not following anymore. Aerial-3-1 will properly do its turn to its left, and its wingman Aerial-4-1 will follow as expected Let me know what you think, thanks again for looking into this! 230918 example mission for breaking follow task bug.miz
  4. thanks heaps for answering - will provide very soon
  5. @Grimes apologies for pinging you on this but is that something you have experienced yourself? Happy to detail more as required if message is unclear.
  6. thanks for your reply - sorry I had missed the notification of answer!
  7. *** edited to refocus and clarifying core problem Hello all, This message relates to a bug of Controller.setTask(Class self , table task ) when used in conjunction with a DCS task follow (NOT another task following the first one, a task specific for a unit to follow another one) Set-up: Set-up two AI controlled F/A18 within separate groups - let’s call them Lead and Wing, with waypoints in front of them. Both missions set to nothing. Add through the Mission Editor a follow task to wing, to follow lead as per a Vec3 Action: Run the mission and dynamically add through a F10 activated script a task to Lead using Controller.setTask (or push, doesn't matter really) Unexpected behaviour: Lead will execute the task properly, but wing will stop following it leads and RTB, effectively breaking the previously set DCS task follow Of note if one uses trigger.action.setAITask rather than setTask - then it works. Lead executes manoeuvre and wing follows, Based on the inconsistency of behaviours between the two it looks like a bug to me. I am happy to elaborate on interact as required. Thanks all, best, AMBeXT.
  8. Hey mate - thanks for posting this - I had been looking for aerobatics task details for a while. Since you seem to know what you are doing, I wondered if you have a method to retrieve the active task, either through a framework (Mist, MOOSE, whatever really) or directly? I mean you can setTask / pushTask, you can popTask and you can interrogate existence of one with getTask but I can't seem to find a way to retrieve all or at least the top task table. Any insight? Thanks in any case!
  9. I am a bit off topic here but your script is not only amazing on its core function, it is also quite helpful on how to use aerobatics task - something I have been looking for doc on for quite some time. Since you seem to know what you are doing, I wondered if you have a method to retrieve the active task, either through a framework (Mist, MOOSE, whatever really) or directly? I mean you can setTask / pushTask, you can popTask and you can interrogate existence of one with getTask but I can't seem to find a way to retrieve all or at least the top task table. Any insight? Thanks in any case!
×
×
  • Create New...