Profile


Name
Find3match
ID
44840
Shared with
Public
Parent
Findmatch
Children
None
Created on
December 04, 2012 at 23:35 PM UTC
Updated on
December 04, 2012 at 23:35 PM UTC
Description

Search for higherst ED score

Best for


Code


local highother = -100 local seghigh=0 for i=1,structure.GetCount()-2 do local sub=0 for j=i,i+2 do a=current.GetSegmentEnergySubscore(j,"other") sub=sub+a end if sub > highother then highother=sub seghigh=i end end print( "High seg: "..seghigh, highother)

Comments