User Tools

Site Tools


crpl:docs:getenemyunitsinrange

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
crpl:docs:getenemyunitsinrange [2014/10/01 15:02] – external edit 127.0.0.1crpl:docs:getenemyunitsinrange [2015/01/11 15:45] – Correction to code sample stewbasic
Line 15: Line 15:
 do (GetEnemyUnitsInRange(0 0 9999) 0) do (GetEnemyUnitsInRange(0 0 9999) 0)
  ->unitUID  ->unitUID
- if (GetUnitType(<-unitUID) eq "EMITTER" )+ if (GetUnitType(<-unitUID) "EMITTER" eq)
  <-count add(1) ->count  <-count add(1) ->count
  endif  endif
crpl/docs/getenemyunitsinrange.txt · Last modified: 2021/02/05 11:44 by Karsten75