Is there a way to have a Requirement require your ally to have something? Otherwise, an effect that searches for allied structures? I'm looking for a requirement ideally speaking, because it's linked to a behavior that requires 2 structures... but I want one of them able to be owned by an ally.
Could always use a Combine validator set to and, the Player Requirement and the Unit Filters validators.
For the effect variation, you need a Search area effect that uses a Set effect which applies two Apply Behavior effects to the caster. Each Apply Behavior effect uses a Unit Type validator that checks for the desired building while your search uses filters to check for allies only.
Combine validator? Hmm.. I guess I'm not too sure what you mean by that. Right now what I have is a "Have Starport" requirement on a behavior which i modified slightly to require the player to control 2 starports for the behavior to apply - but getting that requirement to allow for 1 starport owned by you and 1 by an ally is proven a little more complex. In the requirements formula I can't seem to imply other players - just the player in question.
A validator of the Combine type. Requirements only check the player that owns the caster that uses the requirement unless you specify to check at unit.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Is there a way to have a Requirement require your ally to have something? Otherwise, an effect that searches for allied structures? I'm looking for a requirement ideally speaking, because it's linked to a behavior that requires 2 structures... but I want one of them able to be owned by an ally.
Could always use a Combine validator set to and, the Player Requirement and the Unit Filters validators.
For the effect variation, you need a Search area effect that uses a Set effect which applies two Apply Behavior effects to the caster. Each Apply Behavior effect uses a Unit Type validator that checks for the desired building while your search uses filters to check for allies only.
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
@DrSuperEvil: Go
Combine validator? Hmm.. I guess I'm not too sure what you mean by that. Right now what I have is a "Have Starport" requirement on a behavior which i modified slightly to require the player to control 2 starports for the behavior to apply - but getting that requirement to allow for 1 starport owned by you and 1 by an ally is proven a little more complex. In the requirements formula I can't seem to imply other players - just the player in question.
A validator of the Combine type. Requirements only check the player that owns the caster that uses the requirement unless you specify to check at unit.
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