CINXE.COM

Converting LUA table to WML array[solved] - The Battle for Wesnoth Forums

<!DOCTYPE html> <html dir="ltr" lang="en-gb"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Converting LUA table to WML array[solved] - The Battle for Wesnoth Forums</title> <link rel="alternate" type="application/atom+xml" title="Feed - The Battle for Wesnoth Forums" href="/app.php/feed?sid=12e506257a28f71daa74d2c3d4b8dca4"> <link rel="alternate" type="application/atom+xml" title="Feed - News" href="/app.php/feed/news?sid=12e506257a28f71daa74d2c3d4b8dca4"> <link rel="alternate" type="application/atom+xml" title="Feed - All forums" href="/app.php/feed/forums?sid=12e506257a28f71daa74d2c3d4b8dca4"> <link rel="alternate" type="application/atom+xml" title="Feed - New Topics" href="/app.php/feed/topics?sid=12e506257a28f71daa74d2c3d4b8dca4"> <link rel="alternate" type="application/atom+xml" title="Feed - Forum - Lua Labs" href="/app.php/feed/forum/58?sid=12e506257a28f71daa74d2c3d4b8dca4"> <link rel="alternate" type="application/atom+xml" title="Feed - Topic - Converting LUA table to WML array[solved]" href="/app.php/feed/topic/58925?sid=12e506257a28f71daa74d2c3d4b8dca4"> <link rel="canonical" href="https://forums.wesnoth.org/viewtopic.php?t=58925"> <!-- phpBB style name: prosilver Special Edition Based on style: prosilver (this is the default phpBB3 style) Original author: Tom Beddard ( http://www.subBlue.com/ ) Modified by: phpBB Limited ( https://www.phpbb.com/ ) --> <link href="./../styles/prosilver/theme/normalize.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/base.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/utilities.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/common.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/links.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/content.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/buttons.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/cp.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/forms.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/icons.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/colours.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/responsive.css?assets_version=264" rel="stylesheet"> <link href="./../assets/css/font-awesome.min.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver_se/theme/stylesheet.css?assets_version=264" rel="stylesheet"> <link href="./../styles/prosilver/theme/en/stylesheet.css?assets_version=264" rel="stylesheet"> <link href="./../assets/cookieconsent/cookieconsent.min.css?assets_version=264" rel="stylesheet"> <!--[if lte IE 9]> <link href="./../styles/prosilver/theme/tweaks.css?assets_version=264" rel="stylesheet"> <![endif]--> <link rel="apple-touch-icon" type="image/png" href="https://www.wesnoth.org/wesmere/img/apple-touch-icon.png" sizes="180x180" /> <link rel="icon" type="image/png" href="https://www.wesnoth.org/wesmere/img/favicon-32.png" sizes="32x32" /> <link rel="icon" type="image/png" href="https://www.wesnoth.org/wesmere/img/favicon-16.png" sizes="16x16" /> <meta name="theme-color" content="#0f1421" /> <link href="https://www.wesnoth.org/wesmere/css/forums-1.2.0.css" rel="stylesheet" type="text/css" /> <style> /* * phpBB overrides */ #page-header > .headerbar { display: none!important; } body { padding-top: 0; } /*.search-header { margin-top: 0; margin-right: 0; box-shadow: 0 0 2px #0075B0; }*/ </style> </head> <body id="phpbb" class="nojs notouch section-viewtopic//viewtopic ltr "> <div id="wesmere-embed"> <div id="nav" role="banner"> <div class="centerbox"> <div id="logo"> <a href="https://www.wesnoth.org/" aria-label="Wesnoth logo"></a> </div> <ul id="navlinks" role="navigation"> <li><a href="https://www.wesnoth.org/">Home</a></li> <li><a href="https://forums.wesnoth.org/viewforum.php?f=62">News</a></li> <li><a href="https://wiki.wesnoth.org/Play">Play</a></li> <li><a href="https://wiki.wesnoth.org/Create">Create</a></li> <li><a href="https://forums.wesnoth.org/">Forums</a></li> <li><a href="https://wiki.wesnoth.org/Project">About</a></li> </ul> <div id="sitesearch" role="search"> <form method="get" action="./../search.php?sid=12e506257a28f71daa74d2c3d4b8dca4"> <input id="searchbox" class="has-advanced-search" type="search" name="keywords" placeholder="Search" title="Search these forums [Alt+Shift+f]" accesskey="f" /> <span id="searchbox-controls"> <button id="search-go" class="search-button" type="submit" title="Search"> <i class="fa fa-fw fa-search search-icon" aria-hidden="true"></i> <span class="sr-label">Search</span> </button> <a id="search-opts" class="search-button" href="./../search.php?sid=12e506257a28f71daa74d2c3d4b8dca4" title="Advanced search"> <i class="fa fa-fw fa-cog advsearch-icon" aria-hidden="true"></i> <span class="sr-label">Advanced search</span> </a> </span> </form> </div> <div class="reset"></div> </div> </div> </div> <div id="content"> <div id="wrap" class="wrap"> <a id="top" class="top-anchor" accesskey="t"></a> <div id="page-header"> <div class="headerbar" role="banner"> <div class="inner"> <div id="site-description" class="site-description"> <a id="logo" class="logo" href="./../index.php?sid=12e506257a28f71daa74d2c3d4b8dca4" title="Forums"> <span class="site_logo"></span> </a> <h1>The Battle for Wesnoth Forums</h1> <p>The official forums for The Battle for Wesnoth.</p> <p class="skiplink"><a href="#start_here">Skip to content</a></p> </div> <div id="search-box" class="search-box search-header" role="search"> <form action="./../search.php?sid=12e506257a28f71daa74d2c3d4b8dca4" method="get" id="search"> <fieldset> <input name="keywords" id="keywords" type="search" maxlength="128" title="Search for keywords" class="inputbox search tiny" size="20" value="" placeholder="Search…" /> <button class="button button-search" type="submit" title="Search"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Search</span> </button> <a href="./../search.php?sid=12e506257a28f71daa74d2c3d4b8dca4" class="button button-search-end" title="Advanced search"> <i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">Advanced search</span> </a> <input type="hidden" name="sid" value="12e506257a28f71daa74d2c3d4b8dca4" /> </fieldset> </form> </div> </div> </div> <div class="navbar" role="navigation"> <div class="inner"> <ul id="nav-main" class="nav-main linklist" role="menubar"> <li id="quick-links" class="quick-links dropdown-container responsive-menu" data-skip-responsive="true"> <a href="#" class="dropdown-trigger"> <i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>Quick links</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents" role="menu"> <li class="separator"></li> <li> <a href="./../search.php?search_id=unanswered&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" role="menuitem"> <i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>Unanswered topics</span> </a> </li> <li> <a href="./../search.php?search_id=active_topics&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" role="menuitem"> <i class="icon fa-file-o fa-fw icon-blue" aria-hidden="true"></i><span>Active topics</span> </a> </li> <li class="separator"></li> <li> <a href="./../search.php?sid=12e506257a28f71daa74d2c3d4b8dca4" role="menuitem"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span>Search</span> </a> </li> <li class="separator"></li> </ul> </div> </li> <li data-skip-responsive="true"> <a href="/app.php/help/faq?sid=12e506257a28f71daa74d2c3d4b8dca4" rel="help" title="Frequently Asked Questions" role="menuitem"> <i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>FAQ</span> </a> </li> <li data-last-responsive="true"> <a href="https://forums.wesnoth.org/viewtopic.php?t=24277&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" rel="help" title="View the Community Guidelines" role="menuitem"> <i class="icon fa-book fa-fw" aria-hidden="true"></i><span>Community Guidelines</span> </a> </li> <li class="rightside" data-skip-responsive="true"> <a href="./../ucp.php?mode=login&amp;redirect=viewtopic.php%2F%2Fviewtopic.php%3Fp%3D695153&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Login" accesskey="x" role="menuitem"> <i class="icon fa-power-off fa-fw" aria-hidden="true"></i><span>Login</span> </a> </li> <li class="rightside" data-skip-responsive="true"> <a href="./../ucp.php?mode=register&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" role="menuitem"> <i class="icon fa-pencil-square-o fa-fw" aria-hidden="true"></i><span>Register</span> </a> </li> </ul> <ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar"> <li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList"> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope><a itemprop="item" href="./../index.php?sid=12e506257a28f71daa74d2c3d4b8dca4" accesskey="h" data-navbar-reference="index"><i class="icon fa-home fa-fw"></i><span itemprop="name">Forums</span></a><meta itemprop="position" content="1" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="26"><a itemprop="item" href="./../viewforum.php?f=26&amp;sid=12e506257a28f71daa74d2c3d4b8dca4"><span itemprop="name">Development</span></a><meta itemprop="position" content="2" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="58"><a itemprop="item" href="./../viewforum.php?f=58&amp;sid=12e506257a28f71daa74d2c3d4b8dca4"><span itemprop="name">Lua Labs</span></a><meta itemprop="position" content="3" /></span> </li> <li class="rightside responsive-search"> <a href="./../search.php?sid=12e506257a28f71daa74d2c3d4b8dca4" title="View the advanced search options" role="menuitem"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Search</span> </a> </li> </ul> </div> </div> </div> <a id="start_here" class="anchor"></a> <div id="page-body" class="page-body" role="main"> <h2 class="topic-title"><a href="./../viewtopic.php?t=58925&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">Converting LUA table to WML array[solved]</a></h2> <!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body --> <div style="display: none !important;">Discussion of Lua and <a class="postlink" href="//wiki.wesnoth.org/LuaWML">LuaWML</a> support, development, and ideas.<br /></div> <p> <strong>Moderator:</strong> <a style="color:#008000;" href="./../memberlist.php?mode=group&amp;g=6643&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">Forum Moderators</a> </p> <div class="action-bar bar-top"> <a href="./../posting.php?mode=reply&amp;t=58925&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="button" title="Post a reply"> <span>Post Reply</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i> </a> <div class="search-box" role="search"> <form method="get" id="topic-search" action="./../search.php?sid=12e506257a28f71daa74d2c3d4b8dca4"> <fieldset> <input class="inputbox search tiny" type="search" name="keywords" id="search_keywords" size="20" placeholder="Search this topic…" /> <button class="button button-search" type="submit" title="Search"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Search</span> </button> <a href="./../search.php?sid=12e506257a28f71daa74d2c3d4b8dca4" class="button button-search-end" title="Advanced search"> <i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">Advanced search</span> </a> <input type="hidden" name="t" value="58925" /> <input type="hidden" name="sf" value="msgonly" /> <input type="hidden" name="sid" value="12e506257a28f71daa74d2c3d4b8dca4" /> </fieldset> </form> </div> <div class="pagination"> 6 posts &bull; Page <strong>1</strong> of <strong>1</strong> </div> </div> <div id="p695068" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile695068"> <dt class="no-profile-rank has-avatar"> <div class="avatar-container"> <a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="avatar"><img class="avatar" src="./../download/file.php?avatar=234839_1630528970.png" width="72" height="72" alt="User avatar" /></a> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">Inkerrio</a> </dt> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=234839&amp;sr=posts&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">42</a></dd> <dd class="profile-joined"><strong>Joined:</strong> September 1st, 2021, 8:09 pm</dd> </dl> <div class="postbody"> <div id="post_content695068"> <h3 class="first"> <a href="./../viewtopic.php?p=695068&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695068">Converting LUA table to WML array[solved]</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695068&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./../viewtopic.php?p=695068&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695068" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">Inkerrio</a></strong> &raquo; </span><time datetime="2024-11-29T06:00:47+00:00">November 29th, 2024, 6:00 am</time> </p> <div class="content">Apparently, you do this through wml.array_access.set, but it doesn't work, not creating new WML variables and not modifying exiting. What am I missing?<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code> wesnoth.game_events.on_mouse_move = function(x, y) local u = wesnoth.units.get(17, 3) local path, cost = wesnoth.paths.find_path(u, {3,20}, { ignore_units = true, viewing_side = 0 }) for i, loc in ipairs(path) do wml.array_access.set("coordinate_list", {x = loc[1], y = loc[2]}) end end</code></pre></div></div> <div class="notice"> Last edited by <a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">Inkerrio</a> on December 2nd, 2024, 8:27 pm, edited 2 times in total. </div> <div id="sig695068" class="signature"><a href="https://forums.wesnoth.org/viewtopic.php?t=54852" class="postlink">WWII: Through the Fire</a></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p695070" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile695070"> <dt class="no-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=165464&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">white_haired_uncle</a> </dt> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=165464&amp;sr=posts&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">1456</a></dd> <dd class="profile-joined"><strong>Joined:</strong> August 26th, 2018, 11:46 pm</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> A country place, far outside the Wire</dd> </dl> <div class="postbody"> <div id="post_content695070"> <h3 > <a href="./../viewtopic.php?p=695070&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695070">Re: Converting LUA table to WML array</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695070&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./../viewtopic.php?p=695070&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695070" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="./../memberlist.php?mode=viewprofile&amp;u=165464&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">white_haired_uncle</a></strong> &raquo; </span><time datetime="2024-11-29T06:24:54+00:00">November 29th, 2024, 6:24 am</time> </p> <div class="content">Looks like you're creating the same array over and over. I'm guessing you're trying to repeatedly append to coordinate_list, but you're just overwriting it.<br> <br> Perhaps you could tell us what you're trying to accomplish?<br> <br> Try this<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code>wesnoth.game_events.on_mouse_move = function(x, y) local u = wesnoth.units.get(17, 3) local path, cost = wesnoth.paths.find_path(u, {3,20}, { ignore_units = true, viewing_side = 0 }) local foo = {} for _, loc in pairs(path) do table.insert(foo, {x = loc[1], y = loc[2]}) end wml.array_access.set("coordinate_list", foo) end</code></pre></div></div> <div class="notice"> Last edited by <a href="./../memberlist.php?mode=viewprofile&amp;u=165464&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">white_haired_uncle</a> on November 29th, 2024, 2:28 pm, edited 1 time in total. </div> <div id="sig695070" class="signature"><div style="text-align:center">Speak softly, and carry <a class="postlink" href="//wiki.wesnoth.org/LotI_Items#Doombringer_.E2.80.93_sword">Doombringer</a>.</div></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p695075" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile695075"> <dt class="no-profile-rank has-avatar"> <div class="avatar-container"> <a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="avatar"><img class="avatar" src="./../download/file.php?avatar=234839_1630528970.png" width="72" height="72" alt="User avatar" /></a> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">Inkerrio</a> </dt> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=234839&amp;sr=posts&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">42</a></dd> <dd class="profile-joined"><strong>Joined:</strong> September 1st, 2021, 8:09 pm</dd> </dl> <div class="postbody"> <div id="post_content695075"> <h3 > <a href="./../viewtopic.php?p=695075&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695075">Re: Converting LUA table to WML array</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695075&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./../viewtopic.php?p=695075&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695075" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">Inkerrio</a></strong> &raquo; </span><time datetime="2024-11-29T11:59:45+00:00">November 29th, 2024, 11:59 am</time> </p> <div class="content">I'm trying to turn LUA table with x y coordinates from wesnoth.paths.find_path into a set of WML arrays. The iteration seems to be working correctly, as I can print these coordinates to console, but I'm definitely missing something when it comes to converting them to WML, as this step isn't described well anywhere</div> <div id="sig695075" class="signature"><a href="https://forums.wesnoth.org/viewtopic.php?t=54852" class="postlink">WWII: Through the Fire</a></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p695078" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile695078"> <dt class="no-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=165464&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">white_haired_uncle</a> </dt> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=165464&amp;sr=posts&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">1456</a></dd> <dd class="profile-joined"><strong>Joined:</strong> August 26th, 2018, 11:46 pm</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> A country place, far outside the Wire</dd> </dl> <div class="postbody"> <div id="post_content695078"> <h3 > <a href="./../viewtopic.php?p=695078&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695078">Re: Converting LUA table to WML array</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695078&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./../viewtopic.php?p=695078&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695078" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="./../memberlist.php?mode=viewprofile&amp;u=165464&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">white_haired_uncle</a></strong> &raquo; </span><time datetime="2024-11-29T14:22:07+00:00">November 29th, 2024, 2:22 pm</time> </p> <div class="content">You want a set of arrays? Seems odd, but okay. You can't call them all coordinate_list though.<br> <br> I fixed the example above. It doesn't do exactly what you ask, but I bet if you try it you just might like it.<br> <br> <a href="https://wiki.wesnoth.org/LuaAPI/wml#wml.array_access.set" class="postlink">https://wiki.wesnoth.org/LuaAPI/wml#wml ... access.set</a></div> <div id="sig695078" class="signature"><div style="text-align:center">Speak softly, and carry <a class="postlink" href="//wiki.wesnoth.org/LotI_Items#Doombringer_.E2.80.93_sword">Doombringer</a>.</div></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p695111" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile695111"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./../memberlist.php?mode=viewprofile&amp;u=131665&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="avatar"><img class="avatar" src="./../download/file.php?avatar=131665_1344050688.png" width="100" height="100" alt="User avatar" /></a> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=131665&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" style="color: #D52929;" class="username-coloured">Celtic_Minstrel</a> </dt> <dd class="profile-rank">Developer</dd> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=131665&amp;sr=posts&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">2349</a></dd> <dd class="profile-joined"><strong>Joined:</strong> August 3rd, 2012, 11:26 pm</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> Canada</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact Celtic_Minstrel"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact Celtic_Minstrel</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="http://pentalithia.ca/blog/" title="Website"> <span class="contact-icon phpbb_website-icon">Website</span> </a> <a href="skype:celticminstrek?userinfo" title="Skype"> <span class="contact-icon phpbb_skype-icon">Skype</span> </a> <a href="http://twitter.com/Celtic_Minstrel" title="Twitter" class="last-cell"> <span class="contact-icon phpbb_twitter-icon">Twitter</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content695111"> <h3 > <a href="./../viewtopic.php?p=695111&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695111">Re: Converting LUA table to WML array</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695111&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./../viewtopic.php?p=695111&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695111" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="./../memberlist.php?mode=viewprofile&amp;u=131665&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" style="color: #D52929;" class="username-coloured">Celtic_Minstrel</a></strong> &raquo; </span><time datetime="2024-11-30T18:41:41+00:00">November 30th, 2024, 6:41 pm</time> </p> <div class="content"><blockquote cite="./../viewtopic.php?p=695068&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695068"><div><cite><a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">Inkerrio</a> wrote: <a href="./../viewtopic.php?p=695068&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695068" data-post-id="695068" onclick="if(document.getElementById(hash.substr(1)))href=hash">↑</a><span class="responsive-hide">November 29th, 2024, 6:00 am</span></cite> Apparently, you do this through wml.array_access.set, but it doesn't work, not creating new WML variables and not modifying exiting. What am I missing?<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code> wesnoth.game_events.on_mouse_move = function(x, y) local u = wesnoth.units.get(17, 3) local path, cost = wesnoth.paths.find_path(u, {3,20}, { ignore_units = true, viewing_side = 0 }) for i, loc in ipairs(path) do wml.array_access.set("coordinate_list", {x = loc[1], y = loc[2]}) end end</code></pre></div> </div></blockquote> That's not <code class="inline-code">wml.array_access.set</code> is for. If you're using a loop like that, you can just write <code class="inline-code">wml.variables['coordinate_list[' .. i .. ']'] = {x = loc[1], y = loc[2]}</code>. What <code class="inline-code">wml.array_access.set</code> does is basically handle that loop for you, so you could probably also write <code class="inline-code">wml.array_access.set("coordinate_list", path)</code> <em class="text-italics">instead</em> of the loop.<br> <br> Another way to say it is that you only need to use <code class="inline-code">array_access</code> if you have an array in Lua and want to transfer it directly into WML. You don't use it just because you happen to have an array in WML.</div> <div id="sig695111" class="signature">Author of <a href="http://r.wesnoth.org/t37342" class="postlink">The Black Cross of Aleron</a> campaign and <a href="http://r.wesnoth.org/t37417" class="postlink">Default++</a> era.<br> Former maintainer of <a href="http://r.wesnoth.org/t26527" class="postlink">Steelhive</a>.</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div id="p695153" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile695153"> <dt class="no-profile-rank has-avatar"> <div class="avatar-container"> <a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="avatar"><img class="avatar" src="./../download/file.php?avatar=234839_1630528970.png" width="72" height="72" alt="User avatar" /></a> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">Inkerrio</a> </dt> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=234839&amp;sr=posts&amp;sid=12e506257a28f71daa74d2c3d4b8dca4">42</a></dd> <dd class="profile-joined"><strong>Joined:</strong> September 1st, 2021, 8:09 pm</dd> </dl> <div class="postbody"> <div id="post_content695153"> <h3 > <a href="./../viewtopic.php?p=695153&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695153">Re: Converting LUA table to WML array</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695153&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Reply with quote" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Quote</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./../viewtopic.php?p=695153&amp;sid=12e506257a28f71daa74d2c3d4b8dca4#p695153" title="Post"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Post</span> </a> <span class="responsive-hide">by <strong><a href="./../memberlist.php?mode=viewprofile&amp;u=234839&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="username">Inkerrio</a></strong> &raquo; </span><time datetime="2024-12-02T20:26:34+00:00">December 2nd, 2024, 8:26 pm</time> </p> <div class="content"><code class="inline-code">wml.variables['coordinate_list[' .. i .. ']'] = {x = loc[1], y = loc[2]}</code> worked, thank you both!<br> <br> Solved</div> <div id="sig695153" class="signature"><a href="https://forums.wesnoth.org/viewtopic.php?t=54852" class="postlink">WWII: Through the Fire</a></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Top"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Top</span> </a> </div> </div> </div> <div class="action-bar bar-bottom"> <a href="./../posting.php?mode=reply&amp;t=58925&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="button" title="Post a reply"> <span>Post Reply</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i> </a> <form method="post" action="./../viewtopic.php?t=58925&amp;sid=12e506257a28f71daa74d2c3d4b8dca4"> <div class="dropdown-container dropdown-container-left dropdown-button-control sort-tools"> <span title="Display and sorting options" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-sort-amount-asc fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown hidden"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents"> <fieldset class="display-options"> <label>Display: <select name="st" id="st"><option value="0" selected="selected">All posts</option><option value="1">1 day</option><option value="7">7 days</option><option value="14">2 weeks</option><option value="30">1 month</option><option value="90">3 months</option><option value="180">6 months</option><option value="365">1 year</option></select></label> <label>Sort by: <select name="sk" id="sk"><option value="a">Author</option><option value="t" selected="selected">Post time</option><option value="s">Subject</option></select></label> <label>Direction: <select name="sd" id="sd"><option value="a" selected="selected">Ascending</option><option value="d">Descending</option></select></label> <hr class="dashed" /> <input type="submit" class="button2" name="sort" value="Go" /> </fieldset> </div> </div> </div> </form> <div class="pagination"> 6 posts &bull; Page <strong>1</strong> of <strong>1</strong> </div> </div> <div class="action-bar actions-jump"> <p class="jumpbox-return"> <a href="./../viewforum.php?f=58&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="left-box arrow-left" accesskey="r"> <i class="icon fa-angle-left fa-fw icon-black" aria-hidden="true"></i><span>Return to “Lua Labs”</span> </a> </p> <div class="jumpbox dropdown-container dropdown-container-right dropdown-up dropdown-left dropdown-button-control" id="jumpbox"> <span title="Jump to" class="button button-secondary dropdown-trigger dropdown-select"> <span>Jump to</span> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li><a href="./../viewforum.php?f=64&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-cat-link"> <span> Announcements</span></a></li> <li><a href="./../viewforum.php?f=62&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; News</span></a></li> <li><a href="./../viewforum.php?f=25&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-cat-link"> <span> General</span></a></li> <li><a href="./../viewforum.php?f=6&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Users’ Forum</span></a></li> <li><a href="./../viewforum.php?f=70&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Tournaments</span></a></li> <li><a href="./../viewforum.php?f=5&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Release Announcements, Compiling &amp; Installation</span></a></li> <li><a href="./../viewforum.php?f=4&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Technical Support</span></a></li> <li><a href="./../viewforum.php?f=67&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; iOS Support</span></a></li> <li><a href="./../viewforum.php?f=3&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Strategies &amp; Tips</span></a></li> <li><a href="./../viewforum.php?f=37&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Gameplay Feedback</span></a></li> <li><a href="./../viewforum.php?f=22&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Mainline Campaign Feedback</span></a></li> <li><a href="./../viewforum.php?f=46&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Tutorial</span></a></li> <li><a href="./../viewforum.php?f=40&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; A Tale of Two Brothers</span></a></li> <li><a href="./../viewforum.php?f=41&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; An Orcish Incursion</span></a></li> <li><a href="./../viewforum.php?f=42&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; The South Guard</span></a></li> <li><a href="./../viewforum.php?f=39&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Heir to the Throne</span></a></li> <li><a href="./../viewforum.php?f=43&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Liberty</span></a></li> <li><a href="./../viewforum.php?f=51&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Legend of Wesmere (single player)</span></a></li> <li><a href="./../viewforum.php?f=56&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Legend of Wesmere (multiplayer)</span></a></li> <li><a href="./../viewforum.php?f=49&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Eastern Invasion</span></a></li> <li><a href="./../viewforum.php?f=55&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; The Hammer of Thursagan</span></a></li> <li><a href="./../viewforum.php?f=54&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Descent into Darkness</span></a></li> <li><a href="./../viewforum.php?f=52&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Delfador’s Memoirs</span></a></li> <li><a href="./../viewforum.php?f=45&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Dead Water</span></a></li> <li><a href="./../viewforum.php?f=65&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Secrets of the Ancients</span></a></li> <li><a href="./../viewforum.php?f=48&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Sceptre of Fire</span></a></li> <li><a href="./../viewforum.php?f=53&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Son of the Black Eye</span></a></li> <li><a href="./../viewforum.php?f=44&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; The Rise of Wesnoth</span></a></li> <li><a href="./../viewforum.php?f=47&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Northern Rebirth</span></a></li> <li><a href="./../viewforum.php?f=50&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Under the Burning Suns</span></a></li> <li><a href="./../viewforum.php?f=71&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Winds of Fate</span></a></li> <li><a href="./../viewforum.php?f=31&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Add-on Feedback</span></a></li> <li><a href="./../viewforum.php?f=17&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Website</span></a></li> <li><a href="./../viewforum.php?f=26&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-cat-link"> <span> Development</span></a></li> <li><a href="./../viewforum.php?f=9&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Art Contributions</span></a></li> <li><a href="./../viewforum.php?f=23&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Art Workshop</span></a></li> <li><a href="./../viewforum.php?f=32&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Writers’ Forum</span></a></li> <li><a href="./../viewforum.php?f=21&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; WML Workshop</span></a></li> <li><a href="./../viewforum.php?f=58&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Lua Labs</span></a></li> <li><a href="./../viewforum.php?f=19&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Faction &amp; Era Development</span></a></li> <li><a href="./../viewforum.php?f=15&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Multiplayer Development</span></a></li> <li><a href="./../viewforum.php?f=8&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Scenario &amp; Campaign Development</span></a></li> <li><a href="./../viewforum.php?f=38&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Mainline Campaign Development</span></a></li> <li><a href="./../viewforum.php?f=68&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; UMC Replays</span></a></li> <li><a href="./../viewforum.php?f=14&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Music &amp; Sound Development</span></a></li> <li><a href="./../viewforum.php?f=7&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Translations &amp; Internationalization</span></a></li> <li><a href="./../viewforum.php?f=60&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Translation Stats</span></a></li> <li><a href="./../viewforum.php?f=12&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Ideas</span></a></li> <li><a href="./../viewforum.php?f=10&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Coder’s Corner</span></a></li> <li><a href="./../viewforum.php?f=2&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Developers’ Discussions</span></a></li> <li><a href="./../viewforum.php?f=73&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>&#8627; &nbsp; Wesnoth Organizational Updates</span></a></li> <li><a href="./../viewforum.php?f=18&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Art Development</span></a></li> <li><a href="./../viewforum.php?f=28&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-cat-link"> <span> Miscellaneous</span></a></li> <li><a href="./../viewforum.php?f=13&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Game Development</span></a></li> <li><a href="./../viewforum.php?f=11&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Off-Topic</span></a></li> <li><a href="./../viewforum.php?f=61&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Forum Games</span></a></li> </ul> </div> </div> </div> </div> <div id="page-footer" class="page-footer" role="contentinfo"> <div class="navbar" role="navigation"> <div class="inner"> <ul id="nav-footer" class="nav-footer linklist" role="menubar"> <li class="breadcrumbs"> <span class="crumb"><a href="./../index.php?sid=12e506257a28f71daa74d2c3d4b8dca4" data-navbar-reference="index"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span>Forums</span></a></span> </li> <li class="rightside">All times are <span title="UTC">UTC</span></li> <li class="rightside"> <a href="./../ucp.php?mode=delete_cookies&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" data-ajax="true" data-refresh="true" role="menuitem"> <i class="icon fa-trash fa-fw" aria-hidden="true"></i><span>Delete cookies</span> </a> </li> </ul> </div> </div> <div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="AJAX error" data-ajax-error-text="Something went wrong when processing your request." data-ajax-error-text-abort="User aborted request." data-ajax-error-text-timeout="Your request timed out; please try again." data-ajax-error-text-parsererror="Something went wrong with the request and the server returned an invalid reply."> <div id="darken" class="darken">&nbsp;</div> </div> <div id="phpbb_alert" class="phpbb_alert" data-l-err="Error" data-l-timeout-processing-req="Request timed out."> <a href="#" class="alert_close"> <i class="icon fa-times-circle fa-fw" aria-hidden="true"></i> </a> <h3 class="alert_title">&nbsp;</h3><p class="alert_text"></p> </div> <div id="phpbb_confirm" class="phpbb_alert"> <a href="#" class="alert_close"> <i class="icon fa-times-circle fa-fw" aria-hidden="true"></i> </a> <div class="alert_text"></div> </div> </div> </div> <div class="copyright"> <p class="footer-row"> <span class="footer-copyright">Powered by <a href="https://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Limited</span> </p> <p class="footer-row" role="menu"> <a class="footer-link" href="./../ucp.php?mode=privacy&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Privacy" role="menuitem"> <span class="footer-link-text">Privacy</span> </a> | <a class="footer-link" href="./../ucp.php?mode=terms&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" title="Terms" role="menuitem"> <span class="footer-link-text">Terms</span> </a> </p> </div> <div> <a id="bottom" class="anchor" accesskey="z"></a> </div> <script src="./../assets/javascript/jquery-3.6.0.min.js?assets_version=264"></script> <script src="./../assets/javascript/core.js?assets_version=264"></script> <script type="text/javascript"> var CodeboxExpandText = "Expand"; var CodeboxCollapseText = "Collapse"; </script> <script src="./../assets/cookieconsent/cookieconsent.min.js?assets_version=264"></script> <script> if (typeof window.cookieconsent === "object") { window.addEventListener("load", function(){ window.cookieconsent.initialise({ "palette": { "popup": { "background": "#0F538A" }, "button": { "background": "#E5E5E5" } }, "theme": "classic", "content": { "message": "This\u0020website\u0020uses\u0020cookies\u0020to\u0020ensure\u0020you\u0020get\u0020the\u0020best\u0020experience\u0020on\u0020our\u0020website.", "dismiss": "Got\u0020it\u0021", "link": "Learn\u0020more", "href": "./../ucp.php?mode=privacy&amp;sid=12e506257a28f71daa74d2c3d4b8dca4" } }); }); } </script> </div> <!-- #content --> <script src="./../styles/prosilver/template/forum_fn.js?assets_version=264"></script> <script src="./../styles/prosilver/template/ajax.js?assets_version=264"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10