funkyfranky Posted May 1, 2018 Posted May 1, 2018 Is there a way to get the firing range of units (in particular artillery) via scripting, i.e. can these be found in any of the descriptors? I'd like to check if a target, which has been assigned to an arty unit is within range. Because if not, the task fire at point will not be executed. I know where to find the min/max range values in the lua files but I'd like to avoid building my own data base for all arty units. Or alternatively, is there any other way to check that the fire at point task cannot be executed by the arty unit? At the moment I check after a certain time interval if the event shot occurred for the unit. But it would be nice not to wait ~5 min before it is clear that the target is out of range. A warrior's mission is to foster the success of others. i9-12900K | RTX 4090 | 128 GB Ram 3200 MHz DDR-4 | Quest 3 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss
Recommended Posts