Jump to content

Technical Issue: LUA setTask function does not recognize any tasks (Unknown Task)


Recommended Posts

Posted

Hello,

I am encountering a fundamental technical issue with my DCS installation. Whether I use the standard community library MOOSE (SPAWN:New) or the native game functions, I am unable to spawn and/or give orders to scripted units.

Here is a summary of our troubleshooting steps:

  1. The native function coalition.addGroup is working (I was able to successfully spawn a Su-25T).

  2. The MOOSE functions SPAWN:New and STATIC:New fail to spawn anything.

  3. Basic MOOSE functions (MESSAGE:New) and native DCS functions (trigger.action.smoke) are working perfectly.

  4. The native function Controller.setTask systematically fails with an "Unknown task" error for all standard, documented tasks (PatrolRoute, CAP, Follow, Takeoff, etc.).

I have already performed a full repair and a clean reinstall of the game, but the issue persists. I have also tried disabling overlays and running the game as an administrator.

I suspect there is a deep issue with the scripting API on my system. I am attaching my dcs.log file and a simple test mission (.miz) that reproduces the "Unknown task" error when using setTask.

Thank you for your help.

Mariannes WWII.miz dcs.log

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...