Stuck with GetTileLOS
Posted: Thu Apr 04, 2013 3:18 pm
Hi
I was trying to use this function CountUnitsArea and was not working, so I dig deeper to GetTileLOS, and it is always returning 0
I know for sure that units from side 0 can see that tile, and the ones from side 1 the other one.
GetTileLOS(29, 40, 0);
GetTileLOS(22, 34, 1);
Note: I have changed sides so player controls Germans units, but still is side 0, could that be it?
I was trying to use this function CountUnitsArea and was not working, so I dig deeper to GetTileLOS, and it is always returning 0
I know for sure that units from side 0 can see that tile, and the ones from side 1 the other one.
GetTileLOS(29, 40, 0);
GetTileLOS(22, 34, 1);
Note: I have changed sides so player controls Germans units, but still is side 0, could that be it?