Smart Games 76 Posted November 23, 2020 Want to display a notification window via titleRsc but can`t change its text. class Notification { idd= 55000; duration = 5; onLoad= "uiNamespace setVariable ['JF_Notification', _this]"; controlsBackground[]= { }; controls[]= { RscNotification }; objects[]= { }; class RscNotification: RscText { idc = 1; colorBackground[] = {0,0,0,1}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; x = 0; y = 0; h = 1/15 * safezoneH; w = 1/8 * safezoneW; }; }; And my function to create it: ... titleRsc ["Notification","PLAIN"]; ... private _parent = uiNamespace getVariable "JF_Notification"; private _ctrl = _parent displayCtrl 1; ... _ctrl ctrlSetText "HI"; Any Ideas? Thanks in advance Jacob 1 Share this post Link to post Share on other sites
pierremgi 4743 Posted November 23, 2020 If you are using local variables for control, you must first : disableSerialization; then change for: onLoad= "uiNamespace setVariable ['JF_Notification', _this #0]"; 2 Share this post Link to post Share on other sites
7erra 629 Posted November 24, 2020 Also the lower idc number ranges are reserved for engine behaviour. Afaik 0: OK 1: CANCEL 2: CANCEL too? might be more So to be safe start with your idcs at 100 5 Share this post Link to post Share on other sites