Thread: Table 3.1
View Single Post
Old 07-03-2008, 04:42 AM   #5
moyack
Evil Emoticon
 
moyack's Avatar


Respected User
Project Leader: PoC
 
Join Date: Jan 2006
Posts: 3,278

Submissions (17)

moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)

AI Tournament #2 - 2nd PlaceHero Contest - Second place

Send a message via MSN to moyack
Default

Just one question.... you could add a customizable gamecache filename...

Collapse JASS:
globals
        private constant integer MAX_INSTANCES=400000
        private constant string FILE_NAME = "MyGC" //<= the game cache filename used in your map...

    //=========================================================
        private gamecache gc
    endglobals

...

    private function init takes nothing returns nothing
        call FlushGameCache(InitGameCache(FILE_NAME))
        set gc=InitGameCache(FILE_NAME)
    endfunction
moyack is offline   Reply With Quote