Hello everyone,
I want to make an ability, like a hold position ability, that I can use across different squad types without having to click on each individual squad.
Can someone explain to me how the ui_combine_type works in abilities? The description is "Determines how to combine this ability for non-homogeneous selections". I think it is what I want, but I've tried all the options within and could not get the result I'm looking for. Maybe I'm missing some sort of type requirement among my squads?
Thanks,
Kwok
Cross-unit abilities
5 May 2016, 03:46 AM
#1
Posts: 60
5 May 2016, 12:06 PM
#2
Posts: 632 | Subs: 1
'ui_combine_type' determines if an ability shows up at all when several different squads are selected. This doesn't really matter for what you want to do.
Whether an ability is activated on all selected squads or just one of them is decided by 'ui_group_cast_type'. In your case, the value should be 'multi'!
Whether an ability is activated on all selected squads or just one of them is decided by 'ui_group_cast_type'. In your case, the value should be 'multi'!
5 May 2016, 15:02 PM
#3
Posts: 60
I've already set it to multi, and it works for squads that are the same kind. But, I want it to be when different squads are selected to. So I think it is what I want, I just can't get it to function properly. No matter what setting I use, the ability won't show up across different squads.
5 May 2016, 16:14 PM
#4
Posts: 632 | Subs: 1
First, make sure that it really is one and the same ability. Sometimes there are several abilities with the same screen name and similar functionality, like all the 'hold fire' stuff or some grenades.
Then, you should set 'ui_combine_type' to 'intersection', which means that the ability is shown only if all of the selected squads have it.
If it still doesn't work then, it's probably a bug or limitation with the engine. Maybe someone else knows a little more about that!
Then, you should set 'ui_combine_type' to 'intersection', which means that the ability is shown only if all of the selected squads have it.
If it still doesn't work then, it's probably a bug or limitation with the engine. Maybe someone else knows a little more about that!
5 May 2016, 16:16 PM
#5
Posts: 60
Darn, I did all of that and still doesn't work. Oh well, so be it.
Thanks anyways! Maybe someone else will know.
Maybe there's another aspect of the ability that clashes? Like it doesn't work for toggle abilities?
By the way, what does union mean?
Thanks anyways! Maybe someone else will know.
Maybe there's another aspect of the ability that clashes? Like it doesn't work for toggle abilities?
By the way, what does union mean?
5 May 2016, 16:40 PM
#6
Posts: 632 | Subs: 1
Union and intersection are set operations. Here's a quick example:
A = {1,2,3}
B = {2,3,4}
A ∪ B = {1,2,3,4} (union)
A ∩ B = {2,3} (intersection)
https://en.wikipedia.org/wiki/Union_(set_theory)
https://en.wikipedia.org/wiki/Intersection_(set_theory)
In this case, it should mean that an ability shows up if at least one of the selected squads has it!
A = {1,2,3}
B = {2,3,4}
A ∪ B = {1,2,3,4} (union)
A ∩ B = {2,3} (intersection)
https://en.wikipedia.org/wiki/Union_(set_theory)
https://en.wikipedia.org/wiki/Intersection_(set_theory)
In this case, it should mean that an ability shows up if at least one of the selected squads has it!
5 May 2016, 16:43 PM
#7
Posts: 60
That makes a lot of sense. Thanks!
5 May 2016, 17:11 PM
#8
Posts: 632 | Subs: 1
No problem!
That might actually be possible, because the current state of the ability (on or off) would have to be 'tracked' for each unit. You could try it out by changing the ability type (even if that makes the ability useless) and then checking whether it shows up.
Maybe there's another aspect of the ability that clashes? Like it doesn't work for toggle abilities?
That might actually be possible, because the current state of the ability (on or off) would have to be 'tracked' for each unit. You could try it out by changing the ability type (even if that makes the ability useless) and then checking whether it shows up.
5 May 2016, 17:36 PM
#9
Posts: 60
I tried this for other modal abilities, it still does not let me use abilities with non-homogeneous selections.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
Offline
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.615222.735-2
- 3.35057.860+15
- 4.1110614.644+11
- 5.276108.719+27
- 6.306114.729+2
- 7.918405.694+2
- 8.262137.657+3
- 9.722440.621+4
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1236
Board Info
826 users are online:
1 member and 825 guests
Fanmen
Fanmen
0 post in the last 24h
5 posts in the last week
33 posts in the last month
5 posts in the last week
33 posts in the last month
Registered members: 49138
Welcome our newest member, trevinehickman
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, trevinehickman
Most online: 2043 users on 29 Oct 2023, 01:04 AM