dr_eyeball 16 Posted January 28, 2008 Just use the other version: building up the array from scratch. My fault for suggesting the invalid syntax one. Share this post Link to post Share on other sites
VanhA 10 Posted January 28, 2008 It gives "Type Bolean expected number" error like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> // [Spawn description, marker name] _MyDualList = [["Home base", "m_Start"]]; if(AA#==true) then { _MyDualList = _MyDualList+[["2 - Balmopan", "m_WestSpawn1"]]; }; I tried also with <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">publicVariable "AA"; In it's place and it gives no error but only the first base works. I'm just too boneheaded for this.... EDIT: OK. Oddly this works: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">SPWN_Start = { _Params = _this; _MyDualList = [["Home base", "m_Start"]]; if (AA) then { _MyDualList = _MyDualList+[["2 - Balmopan", "m_WestSpawn1"]]; }; However this one I only tested on hosting LAN from the game. ....but it does work..., bizarre enough. I inserted a publicVariable also in trigger for AA. Share this post Link to post Share on other sites
thegunnysgt 1 Posted April 15, 2008 I'm trying to use your Respawn Dialog with EMSI's UAV Management, but the two together keeps giving me an error. I have narrowed it down to these two, everything else works just fine with both of them, but these two crash my game when trying to load them up together in a mission. Is there a possible fix for it. It involves the Respawn_Dialog.hpp file. Share this post Link to post Share on other sites
dr_eyeball 16 Posted April 15, 2008 (edited) First, check your arma.rpt file for the actual error message. Odd if you didn't get one. What #include's are in your description.ext file? It's probably something like: #include "Dialogs\Common\DialogColorConstants.hpp" #include "Dialogs\DialogColorScheme.hpp" #include "Dialogs\Common\DialogControlClasses.hpp" #include "Dialogs\Respawn_Dialog.hpp" #include "EMSI_Data\EMSI_UAV_display.hpp" #include "EMSI_Data\EMSI_UAV_console.hpp" #include "EMSI_Data\EMSI_UAV_map.hpp" Both DialogControlClasses.hpp & EMSI_UAV_display.hpp have duplicate definitions for RscText & RscStructuredText. But you would have seen an error message for that: RscText: Member already defined. If it is, it may require: - unique prefixes to be added to one or the other project, or - simply removing it from one project. If using the above code #include order, then try commenting out the RscText & RscStructuredText definitions in EMSI_UAV_display.hpp, since they are already defined. Or PM me the pbo via http://dump.no/ Edited April 17, 2009 by Dr_Eyeball reformat Share this post Link to post Share on other sites
thegunnysgt 1 Posted April 15, 2008 Okay thanks, I will comment out the RscText from the EMSI_UAV_display.hpp file. As that was the error I kept getting and every time I got that error my game would CTD. I knew there had to be a work around, just didn't know how to do it. Hope it works and thanks. Love your work, btw. Update That did it. Wasn't sure which thread to post the help in, but thanks for the help. Share this post Link to post Share on other sites
zolop 0 Posted April 23, 2008 Been looking for this kind of script for a long time, thanks Dr_eyeball! Found it on Armaholic. If anyone wants to check-out Dr Eyeballs great work... http://www.armaholic.com/page.php?id=1502 Share this post Link to post Share on other sites