[scroll_to] doesnt like the bottom of the map...

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Posts: 157
Joined: August 13th, 2008, 3:53 pm
Location: Halifax Nova Scotia Canada

[scroll_to] doesnt like the bottom of the map...

Post by markm »

scroll_to mysteriously stopped working for me...

...but some experimenting got it working again by telling it to move to the row just above the bottom of the map, instead of to the bottom fow of the map. Weird...

Fedora 13's wesnoth-1.8.1-1

Edit: oops, just discovered that although I had successfully placed an animated item there (that is what I wanted to scroll too, so the player would notice the item had appeared) I am unable to move there.

So it seems to be an inconsistency in treatment of the edge: an animated [item' had no problem going there, but scroll_to and the player's hero avoided it...

It would probably be more "intuitive" to allow scrolling to anywhere an item can be placed...

Developing Between the Worlds campaign portmanteau.
Have you eaten today?
Post Reply