CINXE.COM

Enter array argument to macro - 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>Enter array argument to macro - 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=d28d1203d3c0845564aeb7b769f62ab2"> <link rel="alternate" type="application/atom+xml" title="Feed - News" href="/app.php/feed/news?sid=d28d1203d3c0845564aeb7b769f62ab2"> <link rel="alternate" type="application/atom+xml" title="Feed - All forums" href="/app.php/feed/forums?sid=d28d1203d3c0845564aeb7b769f62ab2"> <link rel="alternate" type="application/atom+xml" title="Feed - New Topics" href="/app.php/feed/topics?sid=d28d1203d3c0845564aeb7b769f62ab2"> <link rel="alternate" type="application/atom+xml" title="Feed - Forum - WML Workshop" href="/app.php/feed/forum/21?sid=d28d1203d3c0845564aeb7b769f62ab2"> <link rel="alternate" type="application/atom+xml" title="Feed - Topic - Enter array argument to macro" href="/app.php/feed/topic/58920?sid=d28d1203d3c0845564aeb7b769f62ab2"> <link rel="canonical" href="https://forums.wesnoth.org/viewtopic.php?t=58920"> <!-- 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=d28d1203d3c0845564aeb7b769f62ab2"> <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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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="d28d1203d3c0845564aeb7b769f62ab2" /> </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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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%3D695055&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2"><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="21"><a itemprop="item" href="./../viewforum.php?f=21&amp;sid=d28d1203d3c0845564aeb7b769f62ab2"><span itemprop="name">WML Workshop</span></a><meta itemprop="position" content="3" /></span> </li> <li class="rightside responsive-search"> <a href="./../search.php?sid=d28d1203d3c0845564aeb7b769f62ab2" 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=58920&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">Enter array argument to macro</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;">The place to post your <acronym title="Wesnoth Markup Language">WML</acronym> questions and answers.<br /></div> <p> <strong>Moderator:</strong> <a style="color:#008000;" href="./../memberlist.php?mode=group&amp;g=6643&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">Forum Moderators</a> </p> <div class="rules"> <div class="inner"> <strong>Forum rules</strong><br /> <ul><li>Please use <strong class="text-strong">[</strong><strong class="text-strong">code</strong><strong class="text-strong">]</strong> <a href="http://forums.wesnoth.org/faq.php?mode=bbcode" class="postlink">BBCode</a> tags in your posts for embedding WML snippets.</li> <li>To keep your code readable so that others can easily help you, make sure to <strong class="text-strong">indent</strong> it following <a class="postlink" href="//wiki.wesnoth.org/ConventionsWML#Indentation">our conventions</a>.</li></ul> </div> </div> <div class="action-bar bar-top"> <a href="./../posting.php?mode=reply&amp;t=58920&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2"> <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=d28d1203d3c0845564aeb7b769f62ab2" 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="58920" /> <input type="hidden" name="sf" value="msgonly" /> <input type="hidden" name="sid" value="d28d1203d3c0845564aeb7b769f62ab2" /> </fieldset> </form> </div> <div class="pagination"> 7 posts &bull; Page <strong>1</strong> of <strong>1</strong> </div> </div> <div id="p695046" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile695046"> <dt class="no-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=265423&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="username">Samaximus</a> </dt> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=265423&amp;sr=posts&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">9</a></dd> <dd class="profile-joined"><strong>Joined:</strong> September 8th, 2023, 1:53 pm</dd> </dl> <div class="postbody"> <div id="post_content695046"> <h3 class="first"> <a href="./../viewtopic.php?p=695046&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695046">Enter array argument to macro</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695046&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=695046&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695046" 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=265423&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="username">Samaximus</a></strong> &raquo; </span><time datetime="2024-11-28T16:44:49+00:00">Today, 4:44 pm</time> </p> <div class="content">Hello! I have macro called spawner. It spawns by default walking corpse at a given x,y coordinate and the last argument is an array of turns to tell when should spawn. My code looks like that:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code> #define SPAWNER X Y TURNS #arg CHILDS ("Walking Corpse")#endarg #arg SIDE 2#endarg #debug purpose [message] message={TURNS} [/message] [for] array={TURNS} [do] [event] name=turn {TURNS}[$i] {RANDOM {CHILDS}} {NOTRAIT_UNIT {SIDE} $random {X} {Y}} {CLEAR_VARIABLE random} [/event] [/do] [/for] #enddef </code></pre></div> In use it looks like that:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code> {SPAWNER 1 1 (1, 6, 10, 13)} </code></pre></div> However the logged message shows that TURNS is 1,6,10,13 and I get the following lua error: <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code> 20241128 17:08:33 error engine: Formula in WML string cannot be evaluated due to Could not parse expression --&gt; " 20241128 17:08:33 error scripting/lua: lua/wml-flow.lua:107: attempt to compare number with string stack traceback: lua/wml-flow.lua:107: in local 'cmd' lua/wml-utils.lua:145: in field 'handle_event_commands' lua/wml-flow.lua:5: in function &lt;lua/wml-flow.lua:4&gt; [C]: in ? </code></pre></div> I understand that (1, 6, 10, 13) can't be parsed into an array, but how can I resolve this? Is there any lua function that can split that string and later I can use that array?</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="p695049" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile695049"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./../memberlist.php?mode=viewprofile&amp;u=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="avatar"><img class="avatar" src="./../download/file.php?avatar=129456_1408535541.png" width="72" height="72" alt="User avatar" /></a> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" style="color: #008000;" class="username-coloured">Ravana</a> </dt> <dd class="profile-rank">Forum Moderator</dd> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=129456&amp;sr=posts&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">3200</a></dd> <dd class="profile-joined"><strong>Joined:</strong> January 29th, 2012, 12:49 am</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> Estonia</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact Ravana"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact Ravana</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://github.com/ProditorMagnus" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content695049"> <h3 > <a href="./../viewtopic.php?p=695049&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695049">Re: Enter array argument to macro</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695049&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=695049&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695049" 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=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" style="color: #008000;" class="username-coloured">Ravana</a></strong> &raquo; </span><time datetime="2024-11-28T17:30:18+00:00">Today, 5:30 pm</time> </p> <div class="content"><a href="https://wiki.wesnoth.org/InternalActionsWML#.5Bset_variables.5D" class="postlink">https://wiki.wesnoth.org/InternalAction ... riables.5D</a><br> <br> Macro is text replacement. The WML that gets run is <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code>[for] array=1, 6, 10, 13 [do] [event] name=turn 1, 6, 10, 13[$i]... </code></pre></div> array=wants variable name, not list of values.</div> <div id="sig695049" class="signature">Maintainer of <a href="https://forums.wesnoth.org/viewtopic.php?t=25274" class="postlink">Ageless Era</a>. <a href="https://forums.wesnoth.org/viewtopic.php?f=15&amp;t=39116" class="postlink">Ravana's Multiplayer Works</a><br> <br> <a href="https://forums.wesnoth.org/viewtopic.php?t=56440" class="postlink">Quick WML testing guide</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="p695050" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile695050"> <dt class="no-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=265423&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="username">Samaximus</a> </dt> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=265423&amp;sr=posts&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">9</a></dd> <dd class="profile-joined"><strong>Joined:</strong> September 8th, 2023, 1:53 pm</dd> </dl> <div class="postbody"> <div id="post_content695050"> <h3 > <a href="./../viewtopic.php?p=695050&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695050">Re: Enter array argument to macro</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695050&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=695050&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695050" 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=265423&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="username">Samaximus</a></strong> &raquo; </span><time datetime="2024-11-28T17:57:05+00:00">Today, 5:57 pm</time> </p> <div class="content">Thank you for the answer. I rewrote the use case code a bit. It looks like this: <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code> [set_variables] name=turns [value] turn=1 [/value] [value] turn=6 [/value] [value] turn=10 [/value] [value] turn=13 [/value] [/set_variables] {SPAWNER 1 1 $turns} </code></pre></div> And the macro:<br> <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code> #define SPAWNER X Y TURNS #arg CHILDS ("Walking Corpse")#endarg #arg SIDE 2#endarg #prints 4 [message] message={TURNS}.length [/message] [for] array={TURNS} [do] [event] name=turn {TURNS}[$i].turn {RANDOM {CHILDS}} {NOTRAIT_UNIT {SIDE} $random {X} {Y}} {CLEAR_VARIABLE random} [/event] [/do] [/for] #enddef </code></pre></div> When I inspect, I can see the array. However the for loop still won't create me the events.</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="p695052" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile695052"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./../memberlist.php?mode=viewprofile&amp;u=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="avatar"><img class="avatar" src="./../download/file.php?avatar=129456_1408535541.png" width="72" height="72" alt="User avatar" /></a> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" style="color: #008000;" class="username-coloured">Ravana</a> </dt> <dd class="profile-rank">Forum Moderator</dd> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=129456&amp;sr=posts&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">3200</a></dd> <dd class="profile-joined"><strong>Joined:</strong> January 29th, 2012, 12:49 am</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> Estonia</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact Ravana"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact Ravana</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://github.com/ProditorMagnus" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content695052"> <h3 > <a href="./../viewtopic.php?p=695052&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695052">Re: Enter array argument to macro</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695052&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=695052&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695052" 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=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" style="color: #008000;" class="username-coloured">Ravana</a></strong> &raquo; </span><time datetime="2024-11-28T18:09:30+00:00">Today, 6:09 pm</time> </p> <div class="content">It is confusing to put variable name to macro arguments, I would avoid it when possible. Since TURNS looks like constant, same on every replacement of macro, I do not see reason to keep it. Once you fix that, code should start working too.</div> <div id="sig695052" class="signature">Maintainer of <a href="https://forums.wesnoth.org/viewtopic.php?t=25274" class="postlink">Ageless Era</a>. <a href="https://forums.wesnoth.org/viewtopic.php?f=15&amp;t=39116" class="postlink">Ravana's Multiplayer Works</a><br> <br> <a href="https://forums.wesnoth.org/viewtopic.php?t=56440" class="postlink">Quick WML testing guide</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="p695053" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile695053"> <dt class="no-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=265423&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="username">Samaximus</a> </dt> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=265423&amp;sr=posts&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">9</a></dd> <dd class="profile-joined"><strong>Joined:</strong> September 8th, 2023, 1:53 pm</dd> </dl> <div class="postbody"> <div id="post_content695053"> <h3 > <a href="./../viewtopic.php?p=695053&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695053">Re: Enter array argument to macro</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695053&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=695053&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695053" 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=265423&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="username">Samaximus</a></strong> &raquo; </span><time datetime="2024-11-28T18:37:44+00:00">Today, 6:37 pm</time> </p> <div class="content">In other words, i can't use the [for] tag the way I wanted. I think Im going to spam my scenario with SPAWNERs and just pass a single TURN argument everywhere. Thank you for helping me!</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="p695054" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile695054"> <dt class="no-profile-rank no-avatar"> <div class="avatar-container"> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=165464&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2">1453</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_content695054"> <h3 > <a href="./../viewtopic.php?p=695054&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695054">Re: Enter array argument to macro</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695054&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=695054&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695054" 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=d28d1203d3c0845564aeb7b769f62ab2" class="username">white_haired_uncle</a></strong> &raquo; </span><time datetime="2024-11-28T18:47:54+00:00">Today, 6:47 pm</time> </p> <div class="content"><blockquote cite="./../viewtopic.php?p=695050&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695050"><div><cite><a href="./../memberlist.php?mode=viewprofile&amp;u=265423&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">Samaximus</a> wrote: <a href="./../viewtopic.php?p=695050&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695050" data-post-id="695050" onclick="if(document.getElementById(hash.substr(1)))href=hash">↑</a><span class="responsive-hide">Today, 5:57 pm</span></cite> Thank you for the answer. I rewrote the use case code a bit. It looks like this: <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code> [set_variables] name=turns [value] turn=1 [/value] [value] turn=6 [/value] [value] turn=10 [/value] [value] turn=13 [/value] [/set_variables] {SPAWNER 1 1 $turns} </code></pre></div> </div></blockquote> Maybe I'm missing something here since we can't see the whole code, but that seems like a long winded way to write:<br> <br> {SPAWNER 1 1 1}<br> {SPAWNER 1 1 6}<br> {SPAWNER 1 1 10}<br> {SPAWNER 1 1 13}<br> <br> (with the for loop removed from the macro of course).</div> <div id="sig695054" 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="p695055" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile695055"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./../memberlist.php?mode=viewprofile&amp;u=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="avatar"><img class="avatar" src="./../download/file.php?avatar=129456_1408535541.png" width="72" height="72" alt="User avatar" /></a> </div> <a href="./../memberlist.php?mode=viewprofile&amp;u=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" style="color: #008000;" class="username-coloured">Ravana</a> </dt> <dd class="profile-rank">Forum Moderator</dd> <dd class="profile-posts"><strong>Posts:</strong> <a href="./../search.php?author_id=129456&amp;sr=posts&amp;sid=d28d1203d3c0845564aeb7b769f62ab2">3200</a></dd> <dd class="profile-joined"><strong>Joined:</strong> January 29th, 2012, 12:49 am</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Location:</strong> Estonia</dd> <dd class="profile-contact"> <strong>Contact:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Contact Ravana"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Contact Ravana</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://github.com/ProditorMagnus" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content695055"> <h3 > <a href="./../viewtopic.php?p=695055&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695055">Re: Enter array argument to macro</a> </h3> <ul class="post-buttons"> <li> <a href="./../posting.php?mode=quote&amp;p=695055&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=695055&amp;sid=d28d1203d3c0845564aeb7b769f62ab2#p695055" 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=129456&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" style="color: #008000;" class="username-coloured">Ravana</a></strong> &raquo; </span><time datetime="2024-11-28T18:55:37+00:00">Today, 6:55 pm</time> </p> <div class="content">You can use for. Currently you just hide code behind macro, and that doesnt let us immediately notice the error. Macro is text replacement. It is not function. Macro arguments are replaced as text. Putting array name there just moves array name. If you inline TURNS then you are forced to touch the part that currently makes your test case fail, and you probably will get it correctly afterwards.</div> <div id="sig695055" class="signature">Maintainer of <a href="https://forums.wesnoth.org/viewtopic.php?t=25274" class="postlink">Ageless Era</a>. <a href="https://forums.wesnoth.org/viewtopic.php?f=15&amp;t=39116" class="postlink">Ravana's Multiplayer Works</a><br> <br> <a href="https://forums.wesnoth.org/viewtopic.php?t=56440" class="postlink">Quick WML testing guide</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=58920&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=58920&amp;sid=d28d1203d3c0845564aeb7b769f62ab2"> <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"> 7 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=21&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="left-box arrow-left" accesskey="r"> <i class="icon fa-angle-left fa-fw icon-black" aria-hidden="true"></i><span>Return to “WML Workshop”</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=d28d1203d3c0845564aeb7b769f62ab2" class="jumpbox-cat-link"> <span> Announcements</span></a></li> <li><a href="./../viewforum.php?f=62&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; News</span></a></li> <li><a href="./../viewforum.php?f=25&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="jumpbox-cat-link"> <span> General</span></a></li> <li><a href="./../viewforum.php?f=6&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Website</span></a></li> <li><a href="./../viewforum.php?f=26&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" class="jumpbox-cat-link"> <span> Development</span></a></li> <li><a href="./../viewforum.php?f=9&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" class="jumpbox-sub-link"><span class="spacer"></span> <span>&#8627; &nbsp; Ideas</span></a></li> <li><a href="./../viewforum.php?f=10&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" class="jumpbox-cat-link"> <span> Miscellaneous</span></a></li> <li><a href="./../viewforum.php?f=13&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" title="Privacy" role="menuitem"> <span class="footer-link-text">Privacy</span> </a> | <a class="footer-link" href="./../ucp.php?mode=terms&amp;sid=d28d1203d3c0845564aeb7b769f62ab2" 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=d28d1203d3c0845564aeb7b769f62ab2" } }); }); } </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