HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Game Cache

04-09-2005, 06:58 PM#1
Zandose
Hey. I just want to make sure I'm using the game cache right because I can't seem to get my triggers to work right. Btw this is for b.net.

Code:
Untitled Trigger 001
    Events
        Time - Elapsed game time is 1.00 seconds
    Conditions
    Actions
        Game Cache - Create a game cache from something.w3v
        Set Game_Cache = (Last created game cache)
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
                Game Cache - Store (Random real number between 1.00 and 100.00) as (String((Integer A))) of Cache1 in Game_Cache
04-09-2005, 09:40 PM#2
Raptor--
aside from storing 10 random numbers in "Cache1"."1", "Cache1"."2", "Cache1."3", etc... what are you trying to do with it?

its probably easier to just use an array unless theres a special reason you need to use a cache
04-09-2005, 09:41 PM#3
johnfn
Ermm, cache's dont work over bnet. Sorry about that.
04-09-2005, 10:57 PM#4
Vexorian
Caches do work in bnet.

The only thing that doesn't work is saving the caches. but as a temporal storage method they are the best thing ever.