Scrolling out of sight
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.
Scrolling out of sight
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 , i don't know if it is a bug or a feature.
Does anybody knows a way to do this, if it is possible ?
I tried with [scroll_to], but since the hex was out of sight, it didn't scroll at all , i don't know if it is a bug or a feature.
Does anybody knows a way to do this, if it is possible ?
What do you mean? [scroll] and [scroll_to] are completely different.toms wrote:[scroll_to] doesn´t have any effect.
The tag you want is [scroll.
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