Search found 1266 matches

by white_haired_uncle
3 minutes ago
Forum: Scenario & Campaign Development
Topic: Compatibility of previous add-ons with the current version
Replies: 4
Views: 70

Re: Compatibility of previous add-ons with the current version

Assuming this campaign has been abandoned, and I have no idea how to determine that, you might find a lot of good info here:

viewtopic.php?t=55180

You did notice that it is MP, so you won't find it under Campaigns, right?
by white_haired_uncle
31 minutes ago
Forum: Lua Labs
Topic: [unsolvable] Access event content
Replies: 8
Views: 242

Re: [unsolvable] Access event content

I don't know, I've never used them. But for those I was thinking about your question about 'how to notice when it's fired'. If you want to erase them (the events) and recreate them, you could: 1) Since you want to do this from lua, just write them in lua in the first place, save them as variables, a...
by white_haired_uncle
52 minutes ago
Forum: WML Workshop
Topic: multiple objects, overlapping effects
Replies: 2
Views: 52

Re: multiple objects, overlapping effects

You mean it will use whichever comes last?
by white_haired_uncle
Today, 2:39 pm
Forum: WML Workshop
Topic: multiple objects, overlapping effects
Replies: 2
Views: 52

multiple objects, overlapping effects

If a unit possesses two objects, say abilities.leadership.value=15 and abilities.leadership.value=20, which one is selected? What about abilities.leadership.value=-15 and abilities.leadership.value=-20? Or abilities.leadership.value=-15 abilities.leadership.value=20? Does it make any difference who ...
by white_haired_uncle
Today, 2:09 pm
Forum: Scenario & Campaign Development
Topic: Compatibility of previous add-ons with the current version
Replies: 4
Views: 70

Re: Compatibility of previous add-ons with the current version

Depends what you mean by "make it playable". You want to edit the code to bring it up to 1.18 compatibility, or just download the 1.14 version to your 1.18 install and hope it works? You might ask over here, though it doesn't seem to have seen much (un)life recently: https://forums.wesnoth...
by white_haired_uncle
Today, 1:35 pm
Forum: Lua Labs
Topic: [unsolvable] Access event content
Replies: 8
Views: 242

Re: [unsolvable] Access event content

Hi, How to access event content via Lua? I'm pretty sure I don't understand what you are asking, but if you mean you want to access (read) events you've written in WML from lua, could the answer be as simple as just writing them in lua in the first place? Or some combination of wesnoth.game_events....
by white_haired_uncle
Today, 8:35 am
Forum: Lua Labs
Topic: [resolution] problems
Replies: 3
Views: 74

Re: [resolution] problems

You can't use side 1 turn 1, or turn refresh, or one of those?
by white_haired_uncle
Yesterday, 11:47 pm
Forum: WML Workshop
Topic: new campaign's questions and ideas
Replies: 13
Views: 337

Re: new campaign's questions and ideas

You're using attack end, I wonder if that happens before or after the unit is granted experience. If it's before, he'll have nothing to give on the first attack (or the third, fifth...). yes! thats whats happening, how could i fix that? I don't know that there is an event that happens "after a...
by white_haired_uncle
Yesterday, 9:08 pm
Forum: WML Workshop
Topic: new campaign's questions and ideas
Replies: 13
Views: 337

Re: new campaign's questions and ideas

i made a unit for the orbs (Emperor zombie knight helped), it works well enough although it waits until a second attack is made in order to transfer xp to my mage unit... You're using attack end, I wonder if that happens before or after the unit is granted experience. If it's before, he'll have not...
by white_haired_uncle
Yesterday, 2:26 am
Forum: WML Workshop
Topic: WFL conditionals and variable substitution
Replies: 9
Views: 211

Re: WFL conditionals and variable substitution

If I'm following this right, X - null = error, but null - X = X therefore X - (null - 0) = X [which of course, should mean that X - null + 0 = X -> X - null = X ] But, I think I might see what's going on. Using simple substitution: "X - $undefined_variable" = "X - ", which is inv...
by white_haired_uncle
May 14th, 2024, 3:31 pm
Forum: WML Workshop
Topic: WFL conditionals and variable substitution
Replies: 9
Views: 211

Re: WFL conditionals and variable substitution

$quests.met_lilith -> ($quests.met_lilith-0) It was more important around 1.10 when error in formula crashed game. "-" is operator that is valid both as binary and unary. Sorry, I don't follow. It's puking on "=", not "-" so I'm a bit confused. Honestly though, every a...
by white_haired_uncle
May 14th, 2024, 1:51 pm
Forum: WML Workshop
Topic: [heal_unit] and status=unhealable
Replies: 15
Views: 453

Re: [heal_unit] and status=unhealable

Or is that just [filter_wml][not]status=unhealable ? No need for [filter_wml] - just [filter][not]status=unhealable should work (status is part of the StandardUnitFilter ). Yeah, I saw that somewhere after posting. But from what I've read about [filter_wml] it sounds like there's no penalty for usi...
by white_haired_uncle
May 14th, 2024, 1:49 pm
Forum: WML Workshop
Topic: WFL conditionals and variable substitution
Replies: 9
Views: 211

WFL conditionals and variable substitution

I encountered this piece of code: [effect] apply_to=attack increase_damage="$($quests.met_lilith*2-$quests.lilith_deaths)" [/effect] [effect] apply_to=hitpoints increase_total="$($quests.met_lilith*60-$quests.lilith_deaths*30)" heal_full=yes [/effect] which throws these errors 20...
by white_haired_uncle
May 13th, 2024, 10:50 pm
Forum: WML Workshop
Topic: [heal_unit] and status=unhealable
Replies: 15
Views: 453

Re: [heal_unit] and status=unhealable

That sort of thing should go in the wiki, either in the unhealable status documentation or the [heal_unit] documentation (or both). Yes, it should be in both. And now that I think of it, [heal_unit] could take a parameter, honor_unhealable=yes|no (default no, since that's the way it works today). E...
by white_haired_uncle
May 13th, 2024, 12:26 am
Forum: WML Workshop
Topic: [heal_unit] and status=unhealable
Replies: 15
Views: 453

Re: [heal_unit] and status=unhealable

> N_("This unit is unhealable. It cannot be healed by healers or villages and doesn’t benefit from resting.")); [heal_unit] is not one of conditions mentioned. Exactly. The statement "this unit is unhealable" by its nature covers all conditions. Unhealable is binary, you either ...