Hi, I'm creating a "point control" system in the data editor that half-works. The problem I'm running into is in the Enumerate Area Validator, which is driving me crazy. What follows may be a bit rambly in places, but that's because I don't really understand what's going on.
What's Working Fine
Units that can exert control have a Buff
This Buff periodically runs a Search Area Effect
Destructibles within the Search Area that are presently neutral have a copy of the "Neural Parasite" behaviour applied
The "Neural Parasite" Behaviour is modified to have a permanent duration
What's Not Working
The intention is that the Neural Parasite Behaviour should be removed if certain Validators fail. These Validators go in the Validator (Remove) field of the Behaviour.
I have tried to accomplish this with Enumerate Area Validators, based on the FriendliesNearby Validator from the Data Editor.
The FriendliesNearby Validator has been adjusted in the following ways:
Radius of 3
Compare is "Greater Than"
Count being compared to is 0 (Zero)
The part that works still projects control over the Destructible. However, the Validator seems to be immediately failing as it changes owner for a split second then returns to neutral every time the behaviour projects control, causing it to "flicker" between owners. What is odder still is that the presence of two units successfully asserts and maintains control, but one unit does not.
So my problem is, as far as I can tell, that I can't figure out how to get the Enumerate Area Validator to check to make sure that there are at least one player unit within Radius 3 of the Destructible.
Sorry, I should've updated this thread. I did manage to resolve this issue (though I don't quite remember how). When I'm next in the editor I'll figure it out and post again to update. Just in case anyone else tries to do something similar and runs into my problems.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi, I'm creating a "point control" system in the data editor that half-works. The problem I'm running into is in the Enumerate Area Validator, which is driving me crazy. What follows may be a bit rambly in places, but that's because I don't really understand what's going on.
What's Working Fine
What's Not Working
The intention is that the Neural Parasite Behaviour should be removed if certain Validators fail. These Validators go in the Validator (Remove) field of the Behaviour.
I have tried to accomplish this with Enumerate Area Validators, based on the FriendliesNearby Validator from the Data Editor.
The FriendliesNearby Validator has been adjusted in the following ways:
The part that works still projects control over the Destructible. However, the Validator seems to be immediately failing as it changes owner for a split second then returns to neutral every time the behaviour projects control, causing it to "flicker" between owners. What is odder still is that the presence of two units successfully asserts and maintains control, but one unit does not.
So my problem is, as far as I can tell, that I can't figure out how to get the Enumerate Area Validator to check to make sure that there are at least one player unit within Radius 3 of the Destructible.
What filters are you using for the validator? Sounds like it may be detecting your destructibles.
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, I should've updated this thread. I did manage to resolve this issue (though I don't quite remember how). When I'm next in the editor I'll figure it out and post again to update. Just in case anyone else tries to do something similar and runs into my problems.