quraji
zap
- Reaction score
- 144
No one can think of anything to add to this? Hmmm!
I don't play the game enough to know what's needed, so help me out! :thup:
I don't play the game enough to know what's needed, so help me out! :thup:
This looks good (I made my own GUI version however, for my demo map, so I could get cred for it)
Hey i only just noticed but ...
WHats up with this
JASS:
the [boolarray] lol im sure thats not a type of variable
type boolarray extends boolean array [12]
function String2File takes string insertstring returns helpfile
local integer index = 0
local integer depth = 0
local integer length = StringLength( insertstring )
local integer matches = helpfiles
local integer matchindex
local helpfile array match
local string curChar
set insertstring = StringCase( insertstring, false )
loop
exitwhen index == matches
set match[ index ] = SortedFile[ index ]
set index = index + 1
endloop
loop
exitwhen depth > length
exitwhen matches <= 1
set index = 0
set curChar = SubString( insertstring, depth, depth + 1 )
loop
exitwhen index >= matches
if SubString( match[ index ].comparename, depth, depth + 1 ) != curChar then
set matches = matches - 1
set matchindex = index
loop
exitwhen matchindex >= matches
set match[ matchindex ] = match[ matchindex + 1 ]
set matchindex = matchindex + 1
endloop
endif
set index = index + 1
endloop
set depth = depth + 1
endloop
return match[ 0 ]
//return BASE
endfunction
He siad it was discontinued..
type boolarray_ar extends boolarray [12]
type boolarray_ar extends boolarray array [12]
set SquelchList = boolarray_ar.create()
exitwhen i == boolarray_ar.size()
exitwhen j == boolarray.size()
type boolarray_ar extends boolarray [12]
type boolarray_ar extends boolarray array [12]