I am using the "No Enemies nearby" built in validator in an attempt to add a validator to a teleport ability.
I need to be able to use a teleport ability only when there are no enemies nearby. Not nearby the caster, but near the target point itself. The point of teleportation rather needs to have 0 enemies within the specified radius.
I figured it would be simple, just duplicate the one that already exists, and change the location value to "target point".
Field Basestar- No Enemies Nearby
Areas - Arc (360)
Areas - Compare (Equal To)
Areas - Count (0)
Areas - Radius (16)
Areas - Radius Bonus (0)
Areas - Validator ((None))
Editor Name No Enemies Nearby
Editor Prefix Basestar-
Search Filters Excluded: Self, Player, Ally, Neutral, Missile, Dead
Search Flags Extend By Unit Radius, Offset Area By Angle<br />Location Value - Target Point
The ability itself is copied from the Mothership wormhole transit ability. I added the enumerate validator to the teleport effect. The validator is essentially duplicated directly from "No enemies nearby".
Essentially you can't even activate the ability. I've been messing with the various fields but still haven't had any luck with it.
The map is a large scale MOBA with very specific and critical game mechanics. The hero is a stationary battle station with a teleport ability. Being able to teleport too close to enemies will result in a game imbalance. Radius 16 is not too big for this map considering there are a lot of long range abilities weapons and siege mechanics.
Ive tested it teleporting in areas where there are no enemies at all without success. I have also reduced the radius to 5 and tried it with no success. I feel there is something I am missing. I have created a demo map demonstrating the problem if you'd like to take a look for yourself. I simply used the mothership wormhole transit ability, and duplicated the "noenemiesnearby" validator and added it to the teleport effect.
I want to post the solution so anyone who wants to do this knows what to do. Blizzard's default setting for this validator doesn't work if you want to use it with a teleport effect. Simply change the validator count to -1.
Field NoEnemiesNearby (WormholeTransit)
Areas - Arc (360)
Areas - Compare (Equal To)
Areas - Count (0)
Areas - Radius (6)
Areas - Radius Bonus (0)
Areas - Validator ((None))
Count -1
Editor Name NoEnemiesNearby (WormholeTransit)
Search Filters Excluded: Self, Player, Ally, Neutral, Missile, Stasis, Dead, Hidden
Search Flags Extend By Unit Radius, Offset Area By Angle
Don't forget to check the target filters on the ability.
Thanks to DrSuperEvil for pointing that out.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am using the "No Enemies nearby" built in validator in an attempt to add a validator to a teleport ability.
I need to be able to use a teleport ability only when there are no enemies nearby. Not nearby the caster, but near the target point itself. The point of teleportation rather needs to have 0 enemies within the specified radius.
I figured it would be simple, just duplicate the one that already exists, and change the location value to "target point".
I am having no such luck unfortunately.
Where in your effect tree are you adding the validator?
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
I only have one effect for the ability.
Teleport unit. So the validator is there.
As as it currently works I can’t even get the ability to activate with the validator on.
So it is always saying there are nearby enemies. You reduced the radius used to check for enemies?
How are your logic fields set up since the Ennumerate Area validators have two.
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
The ability itself is copied from the Mothership wormhole transit ability. I added the enumerate validator to the teleport effect. The validator is essentially duplicated directly from "No enemies nearby".
Essentially you can't even activate the ability. I've been messing with the various fields but still haven't had any luck with it.
Having a 16 radius is pretty big considering a siege tank only has 13 when sieged.
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
The map is a large scale MOBA with very specific and critical game mechanics. The hero is a stationary battle station with a teleport ability. Being able to teleport too close to enemies will result in a game imbalance. Radius 16 is not too big for this map considering there are a lot of long range abilities weapons and siege mechanics.
Ive tested it teleporting in areas where there are no enemies at all without success. I have also reduced the radius to 5 and tried it with no success. I feel there is something I am missing. I have created a demo map demonstrating the problem if you'd like to take a look for yourself. I simply used the mothership wormhole transit ability, and duplicated the "noenemiesnearby" validator and added it to the teleport effect.
You do know this site now supports maps again.
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
Sorry for some reason I couldn't figure out how to attach a map file until now!
Here's an update. Still working through this problem.
I want to post the solution so anyone who wants to do this knows what to do. Blizzard's default setting for this validator doesn't work if you want to use it with a teleport effect. Simply change the validator count to -1.
Don't forget to check the target filters on the ability.
Thanks to DrSuperEvil for pointing that out.