This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
crpl:docs:getenemyunitsinrange [2013/05/12 12:06] – created jmaps | crpl:docs:getenemyunitsinrange [2015/01/11 15:45] – Correction to code sample stewbasic | ||
---|---|---|---|
Line 8: | Line 8: | ||
=== Description === | === Description === | ||
- | Returns a list of unit UID' | + | Returns a list of unit UID's. Returns all enemy units in range (emitters, spore towers, cores). A list is returned. |
=== Examples === | === Examples === | ||
< | < | ||
Line 15: | Line 15: | ||
do (GetEnemyUnitsInRange(0 0 9999) 0) | do (GetEnemyUnitsInRange(0 0 9999) 0) | ||
-> | -> | ||
- | if (GetUnitType(< | + | if (GetUnitType(< |
< | < | ||
endif | endif |