Allied groups do not cache

Issue #1 new
zorrobyte repo owner created an issue

Wtf....??? There's a strange issue. If I set up aiCache on 1000 m, allied forces do not cache. never.(or at least not in indicated distance) If I setup 100m, they cache and never uncache. even at 5 meters. Only happens with allied, enemy forces work correctly.

Comments (2)

  1. Ignacio Barrientos

    Some test in Editor and MP Seems that you are counting "isPlayable" units as players, so the units next to them (although they are AI) do not uncache. Do not know if this is a feature or something you didn't knew.

  2. Ignacio Barrientos
    _trigUnits = _trigUnits + ([] call BIS_fnc_listPlayers);" \n
    

    BIS_fnc_listPlayers returns a list of playable units. You could use the CBA version, or if you want to maintain no mods requirement, just leave this as it is, as it would not be an issue in MP.

  3. Log in to comment