URL:
<http://gna.org/bugs/?11981>
Summary: Inability to use set_variables/to_variable to
insert only 1 part of an array
Project: Battle for Wesnoth
Submitted by: ken_oh
Submitted on: Tuesday 07/08/2008 at 19:17
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.5.1+svn
Operating System: WinXP
_______________________________________________________
Details:
>From save:
[foo]
[bar]
var="1"
[/bar]
[bar]
var="2"
[/bar]
[/foo]
[foo2]
[bar]
var="3"
[/bar]
[bar]
var="4"
[/bar]
[/foo2]
WML code:
[set_variables]
name=foo.bar
mode=append
to_variable=foo2.bar[1]
[/set_variables]
The [set_variables] part doesn't work (i.e. nothing happens). If you take [1]
out, it will just append all of the 'bar' containers, but I think there should
be a way to append just one of the containers (or maybe there is and I'm
mistaken).
May be related to #11980
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11981>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs