.kju 3245 Posted August 6, 2008 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Warning Message: No entry 'd:\games\ArmA\Profiles\Users\kju\mpmissions\c&h 24 riverbattle_1985_v1.65.Noe\description.ext/RespawnDialog.'. Warning Message: No entry '.type'. Warning Message: '/' is not a value Warning Message: No entry '.idc'. Warning Message: '/' is not a value Warning Message: No entry '.style'. Warning Message: '/' is not a value Warning Message: No entry '.x'. Warning Message: '/' is not a value Warning Message: No entry '.y'. Warning Message: '/' is not a value Warning Message: No entry '.w'. Warning Message: '/' is not a value Warning Message: No entry '.h'. Warning Message: '/' is not a value Warning Message: No entry '.colorBackground'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.colorText'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.font'. Warning Message: '/' is not a value Warning Message: No entry '.sizeEx'. Warning Message: '/' is not a value Warning Message: No entry '.text'. Warning Message: '/' is not a value Dialog is called this way: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_ok = createDialog "RespawnDialog" ?(!_ok): hint "Fehler!"; exit description.ext <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class RespawnDialog { idd = -1; movingEnable = true; controlsBackground[] = { MY_BACKGROUND, MY_FRAME, BACKGROUND_Prim, BACKGROUND_Sec, BACKGROUND_Pist, BACKGROUND_Space, BACKGROUND_Equip, BACKGROUND_Resp, BACKGROUND_Mess; }; class MY_BACKGROUND : RscText { colorBackground[] = {0.5, 0.55, 0.6, 0.5}; text = ""; x = 0.2; y = 0.04; w = 0.6; h = 0.9; }; ... Tried to make it based on RscStandardDisplay didn't help. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class RscStandardDisplay { movingEnable = 1; enableSimulation = 1; enableDisplay = 1; class controlsBackground { class Background1: RscText { w = 0; h = 0; colorBackground[] = {0, 0, 0, 0}; }; }; }; class RespawnDialog: RscStandardDisplay Out of idea. Different base class? Which one? Any help is very much appreciated! Share this post Link to post Share on other sites
silola 1087 Posted August 6, 2008 Hi Q, Your Controls require additional parameters. For example, it is very important that each control gets their own idc. Here is an example of a normal text Control: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class TAG_myControl_No: RscText { idc = 212; type = 0; style = ST_LEFT; colorText[]= {0,0,0,1}; font = TahomaB; SizeEx = 0.020; colorBackground[]= {1,1,1,0.4}; x = 0.1982; y = 0.01; w = 0.0013; h = 0.354; text = "YourText"; }; Greeting Silola Share this post Link to post Share on other sites
HitmanFF 6 Posted August 6, 2008 I've stumbled across the same issue when porting an OFP mission to ArmA. RespawnDialog seems to be a predefined dialog in ArmA. I had to to rename it in in the mission's description.ext and subsequent script's call to get it to work. Share this post Link to post Share on other sites
.kju 3245 Posted August 6, 2008 ahhhh lol. thanks HitmanFF Also thanks to you Silola! Share this post Link to post Share on other sites
.kju 3245 Posted August 6, 2008 crap didnt work I copied the naming from your ECL template. still no luck. I find it strange that it shows the complete path in the error msg: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Warning Message: No entry 'd:\games\ArmA\Profiles\Users\kju\mpmissions\ch_24_riverbattle_1985_v165.Noe\description.ext/MyRespawnDialog.'. I've even changed the naming of the mission folder. Anyone interested to take a brief look please? http://ifile.it/0maxsbg Share this post Link to post Share on other sites