# Creates a sparks effect on each friendly unit inside a triangle. List( V2(18 148) V2(138 102) V2(44 29) ) ->testPoly @GetUnitsInPolygon("" <-testPoly 2 0 1) ->units TraceAllSp("Num units " GetListCount(<-units)) <-units 0 do <-units[I] ->tempunit CreateEffect("sparks" GetUnitPosition(<-tempunit) V3(1 1 1)) loop