URL:
  <http://gna.org/bugs/?10133>

                 Summary: [scroll_to] sometimes not working
                 Project: Battle for Wesnoth
            Submitted by: zookeeper
            Submitted on: Thursday 11/10/07 at 12:37
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk
        Operating System: win xp

    _______________________________________________________

Details:

Load the attached save and kill the last elf leader without freeing Jetto
from the cage near the same corner. This triggers victory normally, and
Kapoue and pals chat a bit. However, when Jetto asks for release after this
(check below to see how), the view does not [scroll_to] to his location
before he speaks at all.

Here's also the relevant piece of WML (from trunk):


        [message]
            description=Gork
            message= _ "We must give this matter careful consideration. Come
inside the city, and we'll discuss it."
        [/message]

        [if]
            [variable]
                name=freed_Jetto
                not_equals=yes
            [/variable]

            [then]
                [scroll_to]
                    x,y=7,30
                [/scroll_to]

                [message]
                    speaker=narrator
                    caption= _ "Jetto"
                    image=portraits/Alex_Jarocha-Ernst/orcish-assassin.png
                    message= _ "Son of the Black-Eye! Could I ask for my
release from this blighted cage?"
                [/message]

                ...


Trying [scroll_to]s to various other locations on the map seemed to work fine
though, so it might be for example a problem with scrolling to near the edge
of the map or something similar. I didn't do extensive tests.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thursday 11/10/07 at 12:37  Name: The_Siege_Of_Barag_Gór_Turn_3.zip 
Size: 59kB   By: zookeeper

<http://gna.org/bugs/download.php?file_id=3048>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?10133>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to