Basicly since the Xel'naga towers in do not seem to go over 100 distance in game, I desided to make a trigger to do relativly the same thing. Here is the trigger:
Events
Unit - Any Unit Enters Region 001
Local Variables
Conditions
(Owner of (Unit 1 from (Any units in Region 001 owned by player 1 matching No Unit Filter, with at most Any Amount))) == 1
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Then
Visibility - Enable Black Mask visibility
Visibility - Enable Fog Of War visibility
Else
Visibility - Disable Black Mask visibility
Visibility - Disable Fog Of War visibility
So a unit from player 1 steps in the region, and only while he is in the region (like that of an xel'naga tower), will the action map revealing occur.
The problem: Unit steps in and triggers the revealed area successfully, but the leaves and the vision remains. Obviously like in an xel'naga tower you do not keep the vision unless you are next to it so this is a problem. Is there something wrong with my condition? I cant figure this out :(
I attempted that with little success, but I'll give it another go. As for research I've done plenty, asking for help on the forums was the last resort.
There must be something involving the conditions I can do to have it disable. This would seem to be a pretty common idea so I cant imagine it's that complicated. :/
p.s. Im a bit new to this site and yes I now realize i should have put this in the 'trigger' section. Figure I'd through that out there before I get an unhelpful post about my forum usage...
i made something close to that so this is what i would do.
make a "revealer" (dont kill me for this i dont have an englisch editor) its under visibility. you can set it to the player whos unit walked close to your object(xelnaga tower or whatever). set the region (of that reavealer) to another region you made. best would be a circle shape one around your object . whenever a unit is close to the tower aktivate the revealer or deaktivate if no unit is there. maybe u have to make several trigger for aktivation and deaktivation. e.g. if the unit gets killed or something like that. try and error should do it ^^
Just use a timer that happens even 1 second of gametime and then a condition that checks to see if the number of units in region is greater than 0, then display the region, if it fails the condition remove the visibility
Rollback Post to RevisionRollBack
Current Project: Community Project
To post a comment, please login or register a new account.
Basicly since the Xel'naga towers in do not seem to go over 100 distance in game, I desided to make a trigger to do relativly the same thing. Here is the trigger:
Events
Unit - Any Unit Enters Region 001
Local Variables
Conditions (Owner of (Unit 1 from (Any units in Region 001 owned by player 1 matching No Unit Filter, with at most Any Amount))) == 1
Actions General - If (Conditions) then do (Actions) else do (Actions) If Then Visibility - Enable Black Mask visibility Visibility - Enable Fog Of War visibility Else Visibility - Disable Black Mask visibility Visibility - Disable Fog Of War visibility
So a unit from player 1 steps in the region, and only while he is in the region (like that of an xel'naga tower), will the action map revealing occur. The problem: Unit steps in and triggers the revealed area successfully, but the leaves and the vision remains. Obviously like in an xel'naga tower you do not keep the vision unless you are next to it so this is a problem. Is there something wrong with my condition? I cant figure this out :(
You may have to do a separate trigger.
One for going in, And one for going out.
Idk, there may be a way that makes it only one trigger...research!
I attempted that with little success, but I'll give it another go. As for research I've done plenty, asking for help on the forums was the last resort.
There must be something involving the conditions I can do to have it disable. This would seem to be a pretty common idea so I cant imagine it's that complicated. :/
p.s. Im a bit new to this site and yes I now realize i should have put this in the 'trigger' section. Figure I'd through that out there before I get an unhelpful post about my forum usage...
i made something close to that so this is what i would do. make a "revealer" (dont kill me for this i dont have an englisch editor) its under visibility. you can set it to the player whos unit walked close to your object(xelnaga tower or whatever). set the region (of that reavealer) to another region you made. best would be a circle shape one around your object . whenever a unit is close to the tower aktivate the revealer or deaktivate if no unit is there. maybe u have to make several trigger for aktivation and deaktivation. e.g. if the unit gets killed or something like that. try and error should do it ^^
Just use a timer that happens even 1 second of gametime and then a condition that checks to see if the number of units in region is greater than 0, then display the region, if it fails the condition remove the visibility