Jump to content
Sign in to follow this  
saetheer

Dialog Control Error

Recommended Posts

Hi.

Sniffing on dialog control. for 1 hour ago. My dialog opened and blah blah.. Buttons dont have function yet, but I've tried to pimp it. Anyway, now I'm getting errors. On mission load, game crashes. And it says it is expecting '=' but reads a ;. And as stubid as I am; I cant figure our sh*t.

If anyone could take a look at the mission file and explain why this is so. Because: If you give a fish to a hungry man, he is sated for a day. teach him to fish, in sated for a significantly longer period.

Also I would appreciate this very much!

In advance; Thanks

Dialog.Stratis.rar

Share this post


Link to post
Share on other sites


class SVVM_DIALOG
{
   idd = -1;
   movingenable = true;


   class Controls
   {

        class SVVM_BOX: BOX
        {
      idc = -1;
	x = 0.324644 * safezoneW + safezoneX;
	y = 0.258 * safezoneH + safezoneY;
	w = 0.29398 * safezoneW;
	h = 0.495 * safezoneH;
        };


class SVVM_FRAME: RscFrame
{
idc = 1800;
x = 0.324644 * safezoneW + safezoneX;
y = 0.258 * safezoneH + safezoneY;
w = 0.29398 * safezoneW;
h = 0.495 * safezoneH;
};

     class SVVM_OK: RscButton
{
idc = 1600;
text = "X"; 
x = 0.597993 * safezoneW + safezoneX;
y = 0.248 * safezoneH + safezoneY;
w = 0.0154726 * safezoneW;
h = 0.022 * safezoneH;

[b];                 //You have an extra ; here[/b]
};

if you go to the error log (arma_3.rpt)

C:\Users\YOURNAME\AppData\Local\Arma 3

after the crash. It will tell you what line the error appears in your script and makes it alot easier to find.

line 38: '/SVVM_DIALOG/Controls/SVVM_OK.': ';' encountered instead of '='

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  

×