Hi i am hoping someone can help me with a trigger i have been working on. i am new to the editor and to this site. I actually had trouble finding out how to start a tread :(
Anyways if possible i would like to know how to make a trigger that will show any unit owned by any player to all players. If that unit is in the line of sight of 4 other units owned by the same player but not in the line of sight of two specific units owned by the same player.... i think that makes sense....
Thanks to anyone that can help or anyone that tries. I don't even know where to start on this trigger....
I tried what i think you were getting at and created a aura buff effect on my units. then created this trigger
Events
Environment - Player 2 uses Effect aura
Local Variables
Conditions
(Number of Living units in (Units in (Unit group((Triggering Effect Unit(Target)))) owned by player 2, with at most Any Amount)) >= 4
Not
Conditions
(Unit type of (Triggering Effect Unit(Caster))) == Outpost (Large) - Destructible
Or
Conditions
(Unit type of (Triggering Effect Unit(Caster))) == Mortuary
Actions
Unit - Share Vision of (Triggering unit) with Player 1
Unit - Share Vision of (Triggering unit) with Player 2
Unit - Share Vision of (Triggering unit) with Player 3
Unit - Share Vision of (Triggering unit) with Player 4
Unit - Share Vision of (Triggering unit) with Player 5
to accomplish what i wanted for player 2 then i would duplicate it for the other players but it doesn't seem to be working i am not sure if it is my trigger or my buff although it's probity both >.<
Line of sight trigger help please
Hi i am hoping someone can help me with a trigger i have been working on. i am new to the editor and to this site. I actually had trouble finding out how to start a tread :(
Anyways if possible i would like to know how to make a trigger that will show any unit owned by any player to all players. If that unit is in the line of sight of 4 other units owned by the same player but not in the line of sight of two specific units owned by the same player.... i think that makes sense....
Thanks to anyone that can help or anyone that tries. I don't even know where to start on this trigger....
You can do it like this through data. Triggers, I'm not sure.
I tried what i think you were getting at and created a aura buff effect on my units. then created this trigger
Events Environment - Player 2 uses Effect aura Local Variables Conditions (Number of Living units in (Units in (Unit group((Triggering Effect Unit(Target)))) owned by player 2, with at most Any Amount)) >= 4 Not Conditions (Unit type of (Triggering Effect Unit(Caster))) == Outpost (Large) - Destructible Or Conditions (Unit type of (Triggering Effect Unit(Caster))) == Mortuary Actions Unit - Share Vision of (Triggering unit) with Player 1 Unit - Share Vision of (Triggering unit) with Player 2 Unit - Share Vision of (Triggering unit) with Player 3 Unit - Share Vision of (Triggering unit) with Player 4 Unit - Share Vision of (Triggering unit) with Player 5
to accomplish what i wanted for player 2 then i would duplicate it for the other players but it doesn't seem to be working i am not sure if it is my trigger or my buff although it's probity both >.<
I thought i figured it out but i was wrong still trying...
Welcome to sc2mapster! Feel free to send me a PM if you need anything :D
Would you mind posting your solution? So people with the problem in the future can figure it out, rather than having to ask again?
@zeldarules28: Go
Sorry if i do figure it out i will explain how if i understand what i did...