User Tools

Site Tools


cw4:ai_orbitals

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cw4:ai_orbitals [2021/04/01 16:56] – Added ability to ignore certain units. heritorcw4:ai_orbitals [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 29: Line 29:
 if(GetListCount(<-ignoreunitslist)  gt0) if(GetListCount(<-ignoreunitslist)  gt0)
            do (GetListCount(<-ignoreunitslist) 0)            do (GetListCount(<-ignoreunitslist) 0)
-#trace2(GetUnitCell(<-ignoreunitslist[I])) +trace2(GetUnitCell(<-ignoreunitslist[I])) 
-                      ApplyToDamageMap(<-ignoreunitslist[I] GetUnitCell(<-ignoreunitslist[I] ) 3 -500 false)+                      ApplyToDamageMap(<-ignoreunitslist[I] GetUnitCell(<-ignoreunitslist[I] ) 3 500 false)
            loop            loop
 endif endif
Line 36: Line 36:
 if(GetListCount(<-ignoreunitslist)  gt0) if(GetListCount(<-ignoreunitslist)  gt0)
            do (GetListCount(<-ignoreunitslist) 0)            do (GetListCount(<-ignoreunitslist) 0)
-                      ApplyToDamageMap(<-ignoreunitslist[I] GetUnitCell(<-ignoreunitslist[I] ) 3 500 false)+                      ApplyToDamageMap(<-ignoreunitslist[I] GetUnitCell(<-ignoreunitslist[I] ) 3 -500 false)
            loop            loop
 endif endif
 +ClearList(<-ignoreunitslist)
  
 :Frame :Frame
cw4/ai_orbitals.1617296161.txt.gz · Last modified: 2025/02/14 14:56 (external edit)