Is there a way to create a LOS blocker for a specific player only?
I want to have this object stay just behind the player unit so it can't "see" (fog of war) behind itself, but it shouldn't hide it from any other player's view if they are behind him.
I don't think this is possible (could very well be wrong, though), but as a work around - you could do something along the lines of manually creating visibility for all other players?
If I understand you correctly you would like to have a cone type line of view only. Well if this is the case you might want to try to disable fog of war for every player in a cone in front of him. This could be possible by creating several round regions for which you remove the fog of war. You need to move these circles with the unit. The later could be done be using triggers and some simple trigonometric functions.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there a way to create a LOS blocker for a specific player only?
I want to have this object stay just behind the player unit so it can't "see" (fog of war) behind itself, but it shouldn't hide it from any other player's view if they are behind him.
Thanks in advance!
I don't think this is possible (could very well be wrong, though), but as a work around - you could do something along the lines of manually creating visibility for all other players?
If I understand you correctly you would like to have a cone type line of view only. Well if this is the case you might want to try to disable fog of war for every player in a cone in front of him. This could be possible by creating several round regions for which you remove the fog of war. You need to move these circles with the unit. The later could be done be using triggers and some simple trigonometric functions.