Deploy area LOS
Posted: Thu Dec 04, 2014 10:12 am
In the deployment phase, after defining an area as no deploy, I can't remember how to avoid this area be visible and deployable if are in the LOS of the fixed units in the map.
For example if I use
if((side == 0) && (IsDeploying() == 1))
{
//set area for non deployment
SetAreaLOS(16, 16, 25, 25, 0, 0) ;
}
I understand that deploy will not be allowed in this area defined, but, if some fixed units have a LOS to some of these tiles they became available for deploy.
For example if I use
if((side == 0) && (IsDeploying() == 1))
{
//set area for non deployment
SetAreaLOS(16, 16, 25, 25, 0, 0) ;
}
I understand that deploy will not be allowed in this area defined, but, if some fixed units have a LOS to some of these tiles they became available for deploy.