Jump to content
Sign in to follow this  
Enigx

input dialog box for sqf execution

Recommended Posts

Dear all,

I've created a gui interface that allows to run some scripts during mission, simply pressing a button. In one of them, by pressing the buttom, the sqf starts, it opens the map and with a map-click creates a marker area where some AI units are spawned. Parameters are directly included in the sqf (area dimension, number of units...). Now I'm forced to define them before the mission.

I would like to improve it implementing a dialog box in which directly type the parameters (five number inputs) to be passed to the sqf.

So in summary, you click on button, open the dialog window, type the five numbers and then click a "start" button to run the script, passing those numbers.

I'm new in scripting and can't find clear information on how to do it. Any help or advice?
Thanks in advance

Share this post


Link to post
Share on other sites

Solved. I've used CDS. Thanks so much to Sceptre for sharing. Great! 

 

  • Like 1

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
Sign in to follow this  

×