LurkerAspect
Now officially a Super Lurker
- Reaction score
- 118
Hi there I'm back for a bit.
My problem today is that I cannot reliably detect that a unit is visible to a player. If I use IsUnitVisible(unit,player) == true, then it only checks for units within acquisition ranges (which is not an option). If I use IsFoggedToPlayer(unit/x:y,player) == false, it will see units through the fog, but if I use IsFoggedToPlayer(unit/x:y,player) == true, then it only sees fogged units
I'm really stumped and quite frustrated; it's the only obstacle in the way of my (pretty sexy) AI system. Any useful help is greatly appreciated! Big mention in the final map if you can come up with a solution.
My problem today is that I cannot reliably detect that a unit is visible to a player. If I use IsUnitVisible(unit,player) == true, then it only checks for units within acquisition ranges (which is not an option). If I use IsFoggedToPlayer(unit/x:y,player) == false, it will see units through the fog, but if I use IsFoggedToPlayer(unit/x:y,player) == true, then it only sees fogged units
I'm really stumped and quite frustrated; it's the only obstacle in the way of my (pretty sexy) AI system. Any useful help is greatly appreciated! Big mention in the final map if you can come up with a solution.