Search found 371 matches
- May 14th, 2024, 12:50 pm
- Forum: Users’ Forum
- Topic: Legend of the Invincibles
- Replies: 7
- Views: 672
Re: Legend of the Invincibles
Because of the new buffed elves?
- May 7th, 2024, 7:00 am
- Forum: WML Workshop
- Topic: Annoying error: <lua> Repeated [endlevel] execution, ignored
- Replies: 4
- Views: 208
Re: Annoying error: <lua> Repeated [endlevel] execution, ignored
The horrible way I did it was to set a variable in the event and have an if at the beginning of the event that was triggering its content only if the variable is not set. I then clear the variable later. [event] name=last breath first_time_only=no [...] [if] [variable] name=todo equals=no [/variable...
- May 3rd, 2024, 11:22 am
- Forum: Scenario & Campaign Development
- Topic: Need some fake bullying comments about campaigns for a meta-campaign
- Replies: 9
- Views: 622
Re: Need some fake bullying comments about campaigns for a meta-campaign
Corridors. When did you think it would be OK to have a map that is only corridors? This is Wesnoth. Choke points are terrible, still you made a map that is only choke points. Congrats. I quit. Have you even played Wesnoth? Because it looks like you made this campaign for a whole other game. 100 turn...
- May 3rd, 2024, 9:34 am
- Forum: Lua Labs
- Topic: [solved] Unit visibility check
- Replies: 4
- Views: 220
Re: Unit visibility check
[filter_vision]
- April 16th, 2024, 7:18 am
- Forum: Ideas
- Topic: Two-flag system in one team
- Replies: 6
- Views: 535
Re: Two-flag system in one team
On Discord, Refumee posted the following code that is supposed to do that.
Code: Select all
[object]
[effect]
apply_to=image_mod
add=RC(magenta>red)
[/effect]
[/object]
- April 16th, 2024, 6:12 am
- Forum: WML Workshop
- Topic: Let the gold rain down!
- Replies: 13
- Views: 715
Re: Let the gold rain down!
Same as Spannerbag, I learned something today.
BTW, if you want to counter the -101+100 problem, you can do
BTW, if you want to counter the -101+100 problem, you can do
Code: Select all
[modify_side]
side=2
gold=100
[/modify_side]
- April 16th, 2024, 6:10 am
- Forum: Users’ Forum
- Topic: Legend of the Invincibles
- Replies: 7
- Views: 672
Re: Legend of the Invincibles
The beta version exists on the 1.17 server. You can download it from http://addons.wesnoth.org/1.17/
However, as it is the beta version is might be a bit buggier that the stable that will at one point be published on 1.18
However, as it is the beta version is might be a bit buggier that the stable that will at one point be published on 1.18
- April 15th, 2024, 6:39 am
- Forum: WML Workshop
- Topic: Ability damage %HP owner help needed
- Replies: 10
- Views: 2023
Re: Ability damage %HP owner help needed
Checking VariableWML, I discover that [filter] fills in
this_unit
. That is a valuable piece of info.- April 15th, 2024, 6:36 am
- Forum: WML Workshop
- Topic: Next question: how to trigger a "sighted" event.
- Replies: 5
- Views: 516
Re: Next question: how to trigger a "sighted" event.
Just swap side=1 and side=2 then.
- April 15th, 2024, 6:34 am
- Forum: WML Workshop
- Topic: Let the gold rain down!
- Replies: 13
- Views: 715
Re: Let the gold rain down!
@uncle: actually not a safe assumption, as I have only been fooling with this game for about three days. But maybe I worked it out, the scenario doesn't warn me anything is wrong: [event] name=side_2_turn_20 [gold] side=2 amount=100 [/gold] [/event] -- Mal The name= is wrong https://wiki.wesnoth.or...
- April 15th, 2024, 6:22 am
- Forum: WML Workshop
- Topic: Setting multiple objectives
- Replies: 5
- Views: 320
Re: Setting multiple objectives
You can also use a variable and increment it each time one of the objective is completed or one for each objective, and check the value of the variable(s) to trigger [end_level]
- April 12th, 2024, 8:45 am
- Forum: WML Workshop
- Topic: Ability damage %HP owner help needed
- Replies: 10
- Views: 2023
Re: Ability damage %HP owner help needed
Just trying to understand here. What would be filling in the
unit
variable? Harm_unit filter?- April 12th, 2024, 8:38 am
- Forum: WML Workshop
- Topic: [AI] performance cost of mutliple CAs
- Replies: 1
- Views: 331
Re: [AI] performance cost of mutliple CAs
I now nothing about ai, but could this work with a role?
like
Then you would give this role to all the units you want to hate Efraim
like
role="hates-Efraim"
Then you would give this role to all the units you want to hate Efraim
- April 11th, 2024, 8:34 am
- Forum: Technical Support
- Topic: Sort-of bug report - inadvertent offensive content
- Replies: 18
- Views: 6839
Re: Sort-of bug report - inadvertent offensive content
How do you check that a name is valid?
- April 11th, 2024, 8:17 am
- Forum: WML Workshop
- Topic: Ability damage %HP owner help needed
- Replies: 10
- Views: 2023
Re: Ability damage %HP owner help needed
What you would need would be to use a store_unit instead of the harm_unit with the same filter, then do a foreach on the store_unit variable with a harm_unit id=$this_item.id in it. This would let you access to the unit hitpoints with $this_item.hitpoints.
Please someone correct me if I am wrong.
Please someone correct me if I am wrong.