| 03-05-2010, 10:31 AM | #1 |
Anyone understand both natives and can clarify some of my doubts? 1. What is the usage of IsVisibleToPlayer()? does it mean after we explore a terrain then it will be consider visible even if it is fogged? 2. Do terrain that is still marked as Masked are consider Fogged as well? or it will be consider as Fogged after a terrain is no long Masked. |
| 03-05-2010, 10:52 AM | #2 |
test it yourself |
| 03-05-2010, 11:31 AM | #3 |
Done testing. Just trying to save my time by asking for answers. Here's my result to share. Masked = Terrain not visible (black layer) Fogged = Terrain visible but is fogged (grey layer) Visible = A unit is nearby or 'iseedeadpeople' (no layer covering it) When terrain is still not explored then it will always be consider Masked and if checking whether it is Fogged will return false. |
