HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to link caches to more than just one map

08-26-2002, 12:07 AM#1
Guest
I am having trouble carrying over units to a third map. As it goes:

The first map is playable the second a cut-scna and the third playable, I can't get the cache to load units to the third scenario. Any suggestions. (if not I will make due with keeping the new units.

Here is my trigger work though:

Before the first ends, create a cache titled Moldor.w3v
Save the three units as their proper name and category hero.
Then i save the last crated cache.

The next map I create a cache titled Moldor.w3v
then I restore the units from the previous map into a place that doesn't interfere with the cut-scene.

Then near the end of the cut-scene I store the units under a new cache titled Moldor.w3v and save the last made cache. For the next level I do all the previous steps, but the units won't restore, and suggestions with exact trigger wording would help, thanks. (also I do set variables for the stored units equal to the last restored unit)
08-26-2002, 12:36 AM#2
Guest
Couldn't you just load the cache once you get to the third map? Or does the cache disappear if you don't use it upon the loading of the next map?

Sorry, haven't worked much with caches.
08-26-2002, 12:48 AM#3
Draco
Yeah, loading them for map 2 shouldn't have to be done at all... BTW, are you saving the first group of people as variables or are you just selecting them off the map. The rest of it sounds like it should work though.
08-26-2002, 01:59 AM#4
Guest
variables, I can do with out it though.
08-26-2002, 05:18 AM#5
Guest
Does game cache work for multiplay???
09-25-2002, 04:43 AM#6
batskcaB
Hi. =)
09-25-2002, 04:47 AM#7
Guest
Also what type of units are u using, standard heros and such that came with the game or custom. If you're using custom be sure to export / import your units into map3. Other then that, it sounds like everything should be working :(
09-25-2002, 05:15 AM#8
batskcaB
I am teh warrior king, yo. =)
09-27-2002, 02:44 AM#9
Guest
I have the smae problem, I'm trying to cache a custom hero. I used the same triggers as he did, I even tried exporting it to the map that I'm trying to use the cache with, still nothing.....emote_confused
09-27-2002, 02:59 AM#10
Guest
for 1 hero caching;
event:
(whatever you want the final trigger to be to goto the next map)
condition
(whatever again)
action:
Game Cache - Create a game cache for (nameofcache).w3v
Game Cache - store (unit) as (label) of (category) in (last created game cache)
Game Cache - Save (Last created game cache)
Game - Set the next level to (whatever).w3m
Game - Victory Player 1 (red) (skip dialogs, skip scores)

store (unit) could be either a unit variable (make sure to set X to the unit though) or you could pick the unit off the map. If linking 3 maps however, it would be wise to use the variable method

To restore:
Event:
Map Init
Conditions
Actions
Game Cache - Create a game cache from (same name of cache).w3v
Game Cache - Restore (label) of (category) for Player 1 (red) at point (x,x) facing 0.00

This should get it working for anyone who is having problems. also make sure to export your custom units then import them into your 2nd and 3rd maps.

Craig "Cloud9_" Giles
RPG Project: 40% complete
Open RPG Project: 25% complete
09-27-2002, 03:25 AM#11
Guest
Quote:
I store the units under a new cache titled Moldor.w3v

Thats the same cache. The caches don't get deleted when you read from them.

If you're doing a straight ahead campaign, then the best idea is to use the same cilename throughout, but have a different category name for each map. Then each hero will be saved for each map. So if I go and load up Map #2 again, the it will still load the characters saved when I finished map #1, not ones from some other map.