Giter VIP home page Giter VIP logo

Comments (7)

wesnoth-bugs avatar wesnoth-bugs commented on April 28, 2024

Modified on 2006-09-25

queenkiller changed category: Bug -> Feature Request

queenkiller changed priority: 5 - Normal -> 3 - Low

queenkiller wrote:

first and second issue is already fixed

Third is feature, so I change it to feature request and low.

from wesnoth.

wesnoth-bugs avatar wesnoth-bugs commented on April 28, 2024

Modified on 2016-01-11

gfgtdf changed title: Issues with [object], events, recall list and default filter -> Add [object] to units on the recall list.

from wesnoth.

ProditorMagnus avatar ProditorMagnus commented on April 28, 2024

unit:add_modification works for recall list units, so all that would be needed to implement it would be including call to wesnoth.get_recall_units in function wml_actions.object(cfg). Though it would only make sense to do so if user explicitly asks for it with new key to not break anything.

Might make sense to require silent object for recall unit.

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 28, 2024

It might be better to document that [object] doesn't work for recall list units and include a note that [modify_unit] can be used instead (by placing an [object] tag in it that only contains [effect] subtags). I'm not sure if [modify_unit] does currently work for recall list units, though, so that would need to be checked. (Also, [modify_unit] affects all units matching the filter while [object] only takes the first, but if I recall correctly, you can add limit=1 to the filter to get the same effect in [modify_unit].)

Basically my point is the same as @ProditorMagnus's final sentence - most of the [object] tag's ActionWML logic is irrelevant for recall list units.

from wesnoth.

gfgtdf avatar gfgtdf commented on April 28, 2024

I agree here. Added a note in the wiki, im closing this. If someone has a real usecase in on of his/her addons whre [object] would be suprerior to [modify_unit][object] for recall unit s he can open a new report ( In particular this one is also too hard to read with the outdated information in the first post)

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 28, 2024

@gfgtdf - Did you verify that [modify_unit] works for recall list units?

from wesnoth.

gfgtdf avatar gfgtdf commented on April 28, 2024

yes (actualyl i had to fix it in master)

from wesnoth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.