Looping and Arrays

Discussion of all aspects of the game engine, including development of new and existing features.

Moderator: Forum Moderators

Post Reply
Wevilspore
Posts: 21
Joined: November 20th, 2005, 4:14 am

Looping and Arrays

Post by Wevilspore »

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
Puck6633
Posts: 10
Joined: November 28th, 2005, 8:30 pm

Post by Puck6633 »

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. :)
Post Reply