saetheer 9 Posted September 7, 2013 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
lifted86 10 Posted September 7, 2013 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