the reason they probably show up is while they are behind your unit they are still in front of the camera. some pics of the issue would help analyze it better
If he's going by the hero's field of vision then it would show text tags for all units within the hero's vision radius, which is a circle around the unit and has nothing to do with the game camera.
A simple solution would be to check if the units are within X degrees of the hero's facing direction. Only then show the tags, else hide them. I made a simple tutorial for something like this: Unit Facing Trigger
Hero's field of vision has nothing to do with it, you could make a text tag on the other side of the map with fog of war disabled for the text tag, and be able to see it if the camera was over it.
Hero's field of vision has nothing to do with it, you could make a text tag on the other side of the map with fog of war disabled for the text tag, and be able to see it if the camera was over it.
If I read his post correctly, it seemed as if he were showing text tags within the unit's vision radius and hiding them if they were outside said radius. The whole reason he would want to do this is because of his 3rd person camera view and disabled FoW, which would cause all distant text tags to bog down the player's screen when viewed. I apologize if this was in error.
If he's going by the hero's field of vision then it would show text tags for all units within the hero's vision radius, which is a circle around the unit and has nothing to do with the game camera.
I was referring to this. The game camera is the hero's field of vision and what determines which text tags are shown, if the text tag's attach point is located within in the camera. The best way to deal with this is as you put it hide the text tags from that player, so that he doesn't see them. I was just pointing this out, not commenting on your method of correcting it.
I put Text Tags on all the "hero units" for a 3rd person camera view map (there is no fog of war)
any units in front of your hero, you see the text tags just fine, but text tags of the units behind you (thus not in your camera view) show up also
units not in your camera view should not have their text tags show up, but it does... (it did not maybe 8 months ago?)
So how to stop the text tags for units behind the hero (not in the field of vision) from showing up?
the reason they probably show up is while they are behind your unit they are still in front of the camera. some pics of the issue would help analyze it better
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
If he's going by the hero's field of vision then it would show text tags for all units within the hero's vision radius, which is a circle around the unit and has nothing to do with the game camera.
A simple solution would be to check if the units are within X degrees of the hero's facing direction. Only then show the tags, else hide them. I made a simple tutorial for something like this: Unit Facing Trigger
EDIT: Link to map file: Link Removed: http://www.mediafire.com/file/21as7gp5cxgd07o/Unit Facing Detection.SC2Map
@BasharTeg: Go
Hero's field of vision has nothing to do with it, you could make a text tag on the other side of the map with fog of war disabled for the text tag, and be able to see it if the camera was over it.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
If I read his post correctly, it seemed as if he were showing text tags within the unit's vision radius and hiding them if they were outside said radius. The whole reason he would want to do this is because of his 3rd person camera view and disabled FoW, which would cause all distant text tags to bog down the player's screen when viewed. I apologize if this was in error.
I was referring to this. The game camera is the hero's field of vision and what determines which text tags are shown, if the text tag's attach point is located within in the camera. The best way to deal with this is as you put it hide the text tags from that player, so that he doesn't see them. I was just pointing this out, not commenting on your method of correcting it.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
No no, my good sir! I was merely attempting to find and correct an error on my part.
thanks for the help guys!
I tried the tutorial map, but theres so much math its hard to understand it all hehe...
I thought of a way to do this but more simple? (since it doesnt require math)
Right now I just made a big circle region of like 40 diameter
and Every 1 second, it is moved to the position of the hero unit, offset by 20 distance, and angle by the players yaw facing
then the trigger hides all text tags everywhere, then picks and shows all text tags of units within the region
(and this is is looped for each integer 1-12, if 12 players etc)
Works so far...no math required either so easy for me to try lol
Thx again for the help and ideas!