SetAreaLOS

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

SetAreaLOS

Post by enric »

Is SetAreaLOS overriding the actual LOS of the units in board, i.e.

SetAreaLOS(31, 16, 35, 22, 0, 0);

Should this block the LOS to these area even if units of side 0 have a LOS to it.?

As in my tries it did not work, is there a way to reduce the LOS to a specific area to all units?
pipfromslitherine
Site Admin
Site Admin
Posts: 9928
Joined: Wed Mar 23, 2005 10:35 pm

Re: SetAreaLOS

Post by pipfromslitherine »

Hmmm - I think this would only work if you called it every tick to clamp down on the LOS.

There isn't a way that I can think of to prevent units from ever seeing into a tile other than, as I say, resetting the LOS value every tick.

Cheers

Pip
Post Reply

Return to “Battle Academy : Modders Corner ”