User Tools

Site Tools


crpl:docs:getnearestgroundenemy

Differences

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

Link to this comparison view

Next revision
Previous revision
crpl:docs:getnearestgroundenemy [2015/03/11 13:14] – created warrencrpl:docs:getnearestgroundenemy [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference|CRPL reference]] <- [[crpl:crplreference#utility_commands|Utility Commands]] <- [[crpl:crplreference|CRPL reference]] <- [[crpl:crplreference#utility_commands|Utility Commands]]
-=====  CurrentCoords  =====+=====  GetNearestGroundEnemy  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| X and Y coord of unit, search range, LOS_test, creeper, digitalis, anticreeper | X and Y coord of target |'' X1 Y1 R1 i1 b1 b2 b3 b4 -- X2 Y2 ''|+| X and Y coord of unit, search range, LOS_test, creeper, digitalis, anticreeper | X and Y coord of target |'' X1 Y1 R1 b1 b2 b3 b4 -- X2 Y2 ''|
  
 === Description === === Description ===
Line 11: Line 11:
 If LOS_test is set to true, your custom weapon will not see the creeper at higher elevations, or hiding behind a wall of higher elevation. If LOS_test is set to true, your custom weapon will not see the creeper at higher elevations, or hiding behind a wall of higher elevation.
  
-each of creeper, digitalis and anticreeper must be set to TRUE or FALSE. This controls which of the three is searched for. Any combination is legal.+Each of creeper, digitalis and anticreeper must be set to TRUE or FALSE. This controls which of the three is searched for. Any combination is legal.
  
 If target is not found, (-1,-1) is returned. If target is not found, (-1,-1) is returned.
crpl/docs/getnearestgroundenemy.1426079666.txt.gz · Last modified: 2025/02/14 14:56 (external edit)