User Tools

Site Tools


4rpl:commands:refreshunitloscache

This is an old revision of the document!


Index

RefreshUnitLosCache

RefreshUnitLosCache(<-unit)

Description

Causes the unit to perform line of sight calculations based on the LOS settings. The results are stored and used by APIs like FindEnemy. The LOS cache should be updated when the unit is moved, but not more frequently than necessary.

Examples

RefreshUnitLOSCache(self)

Index

4rpl/commands/refreshunitloscache.1612732005.txt.gz · Last modified: 2021/02/07 16:06 by virgilw