Jump to content

Recommended Posts

Hello I have run in to a issue that I have not yet been able to figure out. I am a beginner to scripting in SQF and ArmA in general. A little info about what I am in the process of making, Simply it is a GUI attached to a object you can approach and use via addAction. The purpose of the menus is to choose a level, difficulty and missionType, mission. missionType and mission both have a listBox, return button, select button, close button. Now this is where the issue lies, when returning to the missionType menu the listBox options disappear. I tried but am limited to few options because I don't know much about scripting for arma and every tutorial I have watched and or read have been helpful but, has not helped me fix my issue. I love this game so dam much and I have a lot of respect for others who put their time in to making something amazing. Did I forget to add something ? Is there a refresh command or something similar ?

 

Mission Type Menu.hpp

  Reveal hidden contents

 

Mission.hpp

  Reveal hidden contents

 

Function for switching dialog to mission type menu

  Reveal hidden contents

 

function for switching dialog to mission menu

  Reveal hidden contents

 

List box for mission type menu

  Reveal hidden contents

 

List box actions for mission type menu

  Reveal hidden contents

 

 

I know doing it this way might seem messy but it is the only way I know of right now.

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

I am a little confused about your issue still. Can you .zip your mission so I can take a better look? There is a issue in your SQF code by the way:

if (!(isNull (findDisplay 6104)));
if (!isNull (findDisplay 6104)) then {};
waitUntil {!isNull (findDisplay 6104)};

 

Share this post


Link to post
Share on other sites

Found out the issue thanks to @HazJ Forgot to re-populate the listBox. After a little while got it working. Thank you @HazJ so much for your time and helping me through it!

  • Thanks 1

Share this post


Link to post
Share on other sites

No problem! :dontgetit:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×