Jump to content

script inside .miz file


sea2sky

Recommended Posts

Hi guys,

 

how to incorporate a lua script into a .miz file? When I "attach" a script to a mission via DO_SCRIPT_FILE it is stored separately, but I would like a miz file to contain that script. Any known tricks to do so?

 

Thanks!

i5-9600K@4.8GHz 32Gb DDR4 Asus TUF rtx3080 OC Quest Pro Warthog on Virpil base

Link to comment
Share on other sites

When you use triggers to add sounds or do script file, and add images to the briefing they are automatically embedded into the miz file. If you open it up it will be in a l10n/default folder.

So make a trigger Once>TimeMore > Do Script File is literally all you need to do.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

  • Recently Browsing   0 members

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