User Tools

Site Tools


4rpl:commands:nearestspecialtarget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
4rpl:commands:nearestspecialtarget [2023/09/24 11:37] – -1 returned if no unit found. Vertu4rpl:commands:nearestspecialtarget [2023/09/24 12:42] – LOS mention Vertu
Line 10: Line 10:
  
 If no unit matching the special target parameter is found, -1 is returned. If no unit matching the special target parameter is found, -1 is returned.
 +
 +:NOTE: For clarification: Line Of Sight is not factored. If you want to use this API with LOS restrictions, see [[4rpl:commands:getterrainlos|GetTerrainLOS]].
                          
 ===== Examples ===== ===== Examples =====