I don't fully understand these, but I get them for the most part.
I'm trying to make the ghost's ability snipe their target, target the best unit to snipe, as in the unit with the highest armor. How would I do this? It's already an autocast ability, I just need it to use it wisely.
Also how would I make fungal growth only cast when there is like 4 or more units in the area of the spell?
1. I think you want Target Sorts and not validators for that. Just add a Search Area effect that then defines the best target based on a Field type target sort.
2. Use a Enumerate Area validator that only returns true if there are greater than or equals to 4 enemy units within the desired area.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I do not believe there is a validator to detect which unit has the highest armor(at least not in Data - I've taken a quick look and it looks like no?)
For the fungal growth, you need an Enumerate Area validator setup as per following:
Search: Areas + (Arc: 360, Compare:Equal to, Count: -1, Radius: X,
Search: Count (4)
Validator: Compare (Greater Than or Equal to)
Search: Filters (Exclude: Whatever you need)
One would think that since Search Areas +, Search Count, and Validator Compare are not lining up that this would not work, well in fact it does work. I used this exact setup for my War Machine entry for the Themed Creature contest and it worked perfectly, requiring a minimum # of units within the Radius before being able to activate the ability.
Why are you using a Marker Count validator? So that it doesn't fungal on a group already fungal'ed? Better off using a behavior count validator to check see if the target units are fungal'd or not.
Search: Areas - Validator should be left as ((None))
Try again?
If you want to validate 4 Units minimum AND no behavior at the same time, use a Combine validator, then you would add your Behavior Count Validator and the Enumerate Area validator into the Combine, then your ability would use the Combine validator as it's base Validator. God damn that's alot of validating. LOL.
I don't fully understand these, but I get them for the most part.
I'm trying to make the ghost's ability snipe their target, target the best unit to snipe, as in the unit with the highest armor. How would I do this? It's already an autocast ability, I just need it to use it wisely.
Also how would I make fungal growth only cast when there is like 4 or more units in the area of the spell?
1. I think you want Target Sorts and not validators for that. Just add a Search Area effect that then defines the best target based on a Field type target sort.
2. Use a Enumerate Area validator that only returns true if there are greater than or equals to 4 enemy units within the desired area.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@Zero0018: Go
I do not believe there is a validator to detect which unit has the highest armor(at least not in Data - I've taken a quick look and it looks like no?)
For the fungal growth, you need an Enumerate Area validator setup as per following:
One would think that since Search Areas +, Search Count, and Validator Compare are not lining up that this would not work, well in fact it does work. I used this exact setup for my War Machine entry for the Themed Creature contest and it worked perfectly, requiring a minimum # of units within the Radius before being able to activate the ability.
@BorgDragon: Go
What am I doing wrong? They are not casting it. I put the validtator under the autocast validators on the base ability.
Why are you using a Marker Count validator? So that it doesn't fungal on a group already fungal'ed? Better off using a behavior count validator to check see if the target units are fungal'd or not.
Search: Areas - Validator should be left as ((None))
Try again?
If you want to validate 4 Units minimum AND no behavior at the same time, use a Combine validator, then you would add your Behavior Count Validator and the Enumerate Area validator into the Combine, then your ability would use the Combine validator as it's base Validator. God damn that's alot of validating. LOL.
@BorgDragon: Go
Ok it's casting it now, but it's not checking to make sure there is at least 4 units in range.
Pictures attached
In the Combine, Validator: Type, change it from OR to AND? If that doesn't work, hmm...
@BorgDragon: Go
Changed it and ya still not working. They will sometimes not cast at all if there is not enough units and then sometime they will cast if there is 2.