Search found 2961 matches

by Ravana
Yesterday, 3:58 pm
Forum: Users’ Forum
Topic: Stronger elvish scout
Replies: 4
Views: 142

Re: Stronger elvish scout

Since it is rejected for mainline I move it away from ideas.
by Ravana
March 31st, 2024, 12:07 pm
Forum: Users’ Forum
Topic: Addon Feedack
Replies: 12
Views: 306

Re: Addon Feedack

error deprecation: helper.lua is information that in 1.18 it works, but in 1.19 it wont work anymore.
by Ravana
March 30th, 2024, 11:18 pm
Forum: WML Workshop
Topic: [set_variables] not supported at scenario toplevel
Replies: 4
Views: 166

Re: [set_variables] not supported at scenario toplevel

[scenario] should not recognize [set_variable] either. If it currently happens to support it thats bug.
by Ravana
March 30th, 2024, 7:42 pm
Forum: WML Workshop
Topic: [closed] How to filter if units side is allied with side 1
Replies: 10
Views: 268

Re: How to filter if units side is allied with side 1

Define function wesnoth.wml_conditionals.have_side if you really need it without actionWML.
by Ravana
March 30th, 2024, 7:40 pm
Forum: WML Workshop
Topic: [closed] Last breath [have_unit]
Replies: 5
Views: 175

Re: Last breath [have_unit]

Store it.
by Ravana
March 30th, 2024, 7:39 pm
Forum: WML Workshop
Topic: [closed] Need Help for $side_number, or maybe variable
Replies: 11
Views: 224

Re: Need Help for $side_number, or maybe variable

Without .stuffs

In general idea looks good, check [set_variables] for easier way how to create arrays of wml objects.

https://wiki.wesnoth.org/InternalAction ... ays_of_WML
by Ravana
March 30th, 2024, 7:09 pm
Forum: WML Workshop
Topic: [closed] Last breath [have_unit]
Replies: 5
Views: 175

Re: Last breath [have_unit]

Dont use have_unit then.
by Ravana
March 30th, 2024, 6:58 pm
Forum: WML Workshop
Topic: [closed] Need Help for $side_number, or maybe variable
Replies: 11
Views: 224

Re: Need Help for $side_number, or maybe variable

https://wiki.wesnoth.org/VariablesWML#V ... bstitution

WML array is WML, so array with 2 elements can look like
[a]
b=c
[/a]
[a]
b=d
[/a]

WML does not let you create
[a]
c
[/a]
[a]
d
[/a]

Therefore it is $a[1].b to get d, not $a[1].
by Ravana
March 30th, 2024, 5:28 pm
Forum: WML Workshop
Topic: [closed] Need Help for $side_number, or maybe variable
Replies: 11
Views: 224

Re: Need Help for $side_number, or maybe variable

First examples are wrong, you cant store data in tag without key, so should be {VARIABLE cape[$side].x_"Cape des Veilleurs"} # the cape for side $side {VARIABLE cape[$side].x[$number].y _"Cape des Veilleurs"} # each side can have multiple capes, this is cape number $number for si...
by Ravana
March 30th, 2024, 3:15 pm
Forum: WML Workshop
Topic: [closed] Need Help for $side_number, or maybe variable
Replies: 11
Views: 224

Re: Need Help for $side_number, or maybe variable

name="side$side_number|_cape"

| acts as explicit end of variable name.
by Ravana
March 29th, 2024, 8:10 am
Forum: Faction & Era Development
Topic: Imperial Era
Replies: 188
Views: 58833

Re: Imperial Era

https://github.com/search?q=repo%3AUnwi ... &type=code doesnt give results.

[race]
id=IE_Lavinian

[filter]
formula="level < other.level"
race=IE_lavinian
by Ravana
March 29th, 2024, 8:00 am
Forum: Release Announcements, Compiling & Installation
Topic: Wesnoth 1.18.0 — Draconic Invasions Update
Replies: 50
Views: 4498

Re: Wesnoth 1.18.0 — Draconic Invasions Update

Create fake side which shares view with what you want, positioned between sides that you need.