Search found 371 matches
- April 26th, 2025, 5:11 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
Re: [scroll_to_unit] seeing side filter
You filter side by is_local. How the hell is that supposed to shrink the f*cking side list? $ wesnoth.sides.find({is_local=true}) {side: <1 Bandits>,side: <2 Humans>,side: <3 Wenrys>,side: <4 Dwarves>,side: <5 Dwarves>,side: <6 Dwarves>,side: <7 Nagas>,side: <8 Wild>,side: <9 Wild>,side: <10 Wild>}
- April 26th, 2025, 5:08 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
Re: [scroll_to_unit] seeing side filter
Still, this is f*cking complicated, why does [filter_side] has to have that stupid [has_unit] tag which does nothing new, only restricts existing tag??? Aaand I can't find a way to do this simply... how should I do it? (First iterate through sides and then iterate through units, time is even worse a...
- April 26th, 2025, 2:39 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
Re: [scroll_to_unit] seeing side filter
Ok, dumb me (this really makes sense to do with the local side )...
Is it absolutelly bug free and does it not bring any syncing issues/ problems with replay?
- April 26th, 2025, 1:05 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
Re: [scroll_to_unit] seeing side filter
wml.tag.filter_vision{side=i} Could you tell me the whole condition that returns true only if side 1 sees my unit? I can't drop out filter_vision out of nowhere, the standalone tag makes no sence. Where should it be used? (Presumably in unit filter, but where tge hell to use the whole filter? And w...
- April 26th, 2025, 5:59 am
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
- April 25th, 2025, 8:37 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
- April 25th, 2025, 5:24 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
- April 25th, 2025, 4:44 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
- April 25th, 2025, 4:16 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
- April 25th, 2025, 7:05 am
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
Re: [scroll_to_unit] seeing side filter
Sadly, it states in wiki that [have_unit] automatically excludes all non side's units.
- April 23rd, 2025, 5:39 am
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
- April 23rd, 2025, 5:13 am
- Forum: Lua Labs
- Topic: Unit movement animation problem
- Replies: 2
- Views: 2083
Re: Unit movement animation problem
Sadly, this is unsupported. Even 9487 wouldn't enable what you want. Maybe you can get the desired effect via some complicated workaround but I'm not sure how you'd go about that. I don't see why resolving one unit weird movement animation, wouldn't resolve two unit animations? (The greatest featur...
- April 23rd, 2025, 4:32 am
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
- April 22nd, 2025, 8:23 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
- April 22nd, 2025, 6:36 pm
- Forum: WML Workshop
- Topic: [scroll_to_unit] seeing side filter
- Replies: 26
- Views: 5122
[scroll_to_unit] seeing side filter
Hi I have [scroll_to_unit], for unit vith invisible ability and I want to highlight it's action (coded teleport) but only for sides, who actually do see the unit. How to do so? There's [filter_side] but I can't find a way to filter for sides, which do see my unit. Docs: https://wiki.wesnoth.org/Inte...