I want to create an ability which would lead a scout unit to unexlored regions. First idea was to use effect-target ability to chose a random point and issue order with visibility validator as an effect. But there is a question: how to make effect-target ability to chose points instead of units? I also thought about wander behavior, but it has no validator field.
Yeah you could use a hacky method like invisible units that are killed once they enter vision range of your units, but I expect that would be a bit glitchy and may have performance implications.
I'd also be curious if there's a "smarter" way to do this with validators or something.
But there is a question: how to make effect-target ability to chose points instead of units?
This is determined by the first executed effect of the ability. If the effect is unit target, the ability is as well. So just set the first effect to target a point.
Yeah, I've tried Set and Persistent, and some validators to avoid picking units as targets, but the effect-target ability with autocast on either keep picking units or doesn't pick anything. So, nvm, i'll make this as a triger, not a big deal.
@Zolden: Go Why not follow the suggestion to make it target resources? could also target other neutral strutures like destructible rocks and Xel'Naga Towers.
Scout unit shouldn't be able to see neutral targets under the fog of war. It should only move itself to unexplored areas and reveal objects by chance. I'ts totally different behaving.
Also, triggers allow to increase search range when unit find itself stuck deep into explored region.
Is there a validator to differentiate between fog of war and black mask? I've tried to use Location Vision validator, but it can only see the difference between fog of war and visible regions, and has no flags to configure it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I want to create an ability which would lead a scout unit to unexlored regions. First idea was to use effect-target ability to chose a random point and issue order with visibility validator as an effect. But there is a question: how to make effect-target ability to chose points instead of units? I also thought about wander behavior, but it has no validator field.
Interesting :)
What about choosing neutral critters as target , or mineral fields (that would help to explore bases)
sorry I don't know much about how that could be implemented , I would like to know too :) good luck
Yeah you could use a hacky method like invisible units that are killed once they enter vision range of your units, but I expect that would be a bit glitchy and may have performance implications.
I'd also be curious if there's a "smarter" way to do this with validators or something.
This is determined by the first executed effect of the ability. If the effect is unit target, the ability is as well. So just set the first effect to target a point.
The Issue Order effect can target points if you use a Create Peristent effect.
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
Yeah, I've tried Set and Persistent, and some validators to avoid picking units as targets, but the effect-target ability with autocast on either keep picking units or doesn't pick anything. So, nvm, i'll make this as a triger, not a big deal.
@Zolden: Go Why not follow the suggestion to make it target resources? could also target other neutral strutures like destructible rocks and Xel'Naga Towers.
@SoulFilcher: Go
Scout unit shouldn't be able to see neutral targets under the fog of war. It should only move itself to unexplored areas and reveal objects by chance. I'ts totally different behaving.
Also, triggers allow to increase search range when unit find itself stuck deep into explored region.
Doesn't work right with triggers eaither.
Is there a validator to differentiate between fog of war and black mask? I've tried to use Location Vision validator, but it can only see the difference between fog of war and visible regions, and has no flags to configure it.