Looping and Arrays
Moderator: Forum Moderators
-
- Posts: 21
- Joined: November 20th, 2005, 4:14 am
Looping and Arrays
I noticed an [array] tag and wondered if there were any tags for looping or switch structures. Even a simple For loop would be nice although I could make a While or Do-While loop into a For loop if those are available.
Switch structures are a nicety but not necessary as they can be carried out by a large nested [if] structure
Switch structures are a nicety but not necessary as they can be carried out by a large nested [if] structure
This should tell you everything you need to know: http://www.wesnoth.org/wiki/InternalActionsWML (The first two headings in particular)
Also, I believe "Scenario & Campaign Development" would be a more appropriate place for questions like this.
Also, I believe "Scenario & Campaign Development" would be a more appropriate place for questions like this.