Scrolling out of sight

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
Noyga
Inactive Developer
Posts: 1790
Joined: September 26th, 2005, 5:56 pm
Location: France

Scrolling out of sight

Post by Noyga »

In a scenario, i wanted to scroll to a given area of the map to show something.
I tried with [scroll_to], but since the hex was out of sight, it didn't scroll at all :cry: , i don't know if it is a bug or a feature.
Does anybody knows a way to do this, if it is possible ?
toms
Posts: 1717
Joined: November 6th, 2005, 2:15 pm

Post by toms »

[scroll_to] doesn´t have any effect.
The tag you want is [scroll. :wink:
First read, then think. Read again, think again. And then post!
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

toms wrote:[scroll_to] doesn´t have any effect.
The tag you want is [scroll. :wink:
What do you mean? [scroll] and [scroll_to] are completely different.

And if [scroll_to] doesn't have any effect (which it however does), it should:
the wiki wrote:[scroll_to] Scroll to a given hex (new in 0.9.2)
* x, y the hex to scroll to
Post Reply