URL:
<http://gna.org/bugs/?25390>
Summary: [for] tag ignores start/end attributes
Project: Battle for Wesnoth
Submitted by: pentarctag0n
Submitted on: Thu 15 Dec 2016 09:10:42 AM UTC
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.13.6+
Operating System: Linux Mint
_______________________________________________________
Details:
The following code results in all 4 values being shown, rather than just the
middle 2.
[event]
name=start
[set_variables]
name=test
[value]
val=0
[/value]
[value]
val=1
[/value]
[value]
val=2
[/value]
[value]
val=3
[/value]
[/set_variables]
[for]
array=test
variable=MusicTemp.i
start=1
end=2
step=1
[do]
[message]
message="$test[$MusicTemp.i].val"
[/message]
[/do]
[/for]
[/event]
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?25390>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs