Jump to content

"Perform Command" > "Script File": Script File attached to waypoint does not execute


Recommended Posts

Posted

Platform: Windows 11
DCS version: 2.9.20.15384

Steps to reproduce:

  1. Open Mission Editor.
  2. Create an aircraft unit with a waypoint.
  3. On the waypoint, add an Advanced Action "Perform Command > Script File" and select a .lua file containing the single line:
     
    trigger.action.outText("command executed", 10)

     
  4. (Optional) In the same waypoint also add a "Perform Command > Run Script" (inline) action with a similar "trigger.action.outText(...)" line for comparison.
  5. Start the mission and fly the unit over the waypoint (or let AI reach it).

Expected result: the message "command executed" appears for 10 seconds when the waypoint action triggers.

Actual result: the inline "Run Script" action executes and shows the text, but the "Script File" action does not execute / no message appears.

Additional info / notes:

  • I checked the DCS.log for Lua errors after mission run. There were no visible errors.
  • I verified the .lua file was embedded into the .miz (opened the .miz with a ZIP tool and saw the Lua file under l10n\DEFAULT path).

Attached files:

  • Minimal reproduction mission
  • DCS.log from the run

Please tell me if you’d like me to attach anything else.

Thank you!

bug-wp-action-script-file.miz dcs.log

  • Recently Browsing   0 members

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