Avian Era WML thread

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.
Vanagandr
Posts: 36
Joined: May 17th, 2014, 5:48 pm

Re: [animate_unit] in right click menu

Post by Vanagandr »

tekelili wrote: hum, ignore me if I am wrong, but just in case... could be you forgot use heal_full=yes

Code: Select all

    [effect]
        apply_to=hitpoints
        increase_total={HP}
        heal_full=yes
    [/effect]
In case you meant me, I didn't write any [effect], I just used [transform_unit] and the unit that was transformed had the resilient trait (others had strong etc, it always seemed to get full HP if the last trait was quick though).

I will get on writing some simpler test cases then.

Edit: I reported the bugs, it seems that object with duration=turn behaves like I thought it would though, I don't know what I changed but it suddenly works.
User avatar
arobinson
Posts: 208
Joined: June 6th, 2010, 12:05 am

Re: Avian Era WML thread

Post by arobinson »

I'm seeing the same issue of animations from a set_menu_item command being really accelerated. Have you filed a bug already for this?

Seems that adding a simple delay tag in the menu item is a work-around for the issue.

Code: Select all

 ...            [/show_if]
            [command]
                [delay]
                    time=100
                [/delay]
... (now animate the unit)...
Running Wesnoth 1.12.4 on Mac OSX 10.10
Campaigns:
Post Reply