Jump to content

[solved] Error message when trying to add menu (using moose)


Recommended Posts

Posted (edited)

Hello everyone,

I become totally desperate.

I was starting to make a test mission, using moose, to test several things. I already tested successfully some test missions from the Git page. And now I wanted to start my new mission, adding a new menu. And this fails, since hours, and I cannot tell why.

This is my whole script (reduced to the actual problem):

local radio
radio = MENU_COALITION:New(coalition.side.BLUE, "NewMenu", nil)

When loading this script, I am getting this ingame:

Menu_moose_error.jpg

I am using the latest moose.lua (2.7.8). it's being load at mission start.

My Script is loaded when more than 5 seconds.

Edited by Limaro

Windows 11 Pro 64Bit - AMD Ryzen 5800X3D - AMD 6900 XT - 64 GB RAM

VPC MongoosT-50CM2 Throttle, VPC WarBRD Base, VPC MongoosT-50CM2 Grip

Posted

I found a solution, not the real error.

Just for all: Do not load the moose.lua with "Mission Start" event. I may lead to problems. Just make no event, I also included now some seconds delay before moose and some more seconds for my mission script.

  • Thanks 1

Windows 11 Pro 64Bit - AMD Ryzen 5800X3D - AMD 6900 XT - 64 GB RAM

VPC MongoosT-50CM2 Throttle, VPC WarBRD Base, VPC MongoosT-50CM2 Grip

  • Limaro changed the title to [solved] Error message when trying to add menu (using moose)
  • Recently Browsing   0 members

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