HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

game cache custom units

01-19-2003, 03:17 PM#1
pigchow777
i want to game cache custom units, how do i do so, also like custom items be carried over, is it possable, it worked fine in spider queen, or does it just work
01-19-2003, 09:45 PM#2
pigchow777
NO ONE ANSWERS ME
01-19-2003, 09:59 PM#3
MrDoomMaster
I wouldn't know for sure, but experience tells me that more than likely it will work. From what i've read in your post, sounds like you've seen some evidence that it does work. Why not create a test map and find out?
01-20-2003, 12:29 AM#4
pigchow777
well i dont understand the triggers
01-20-2003, 12:46 AM#5
MrDoomMaster
Well, if you could maybe explain what exactly about the triggers you don't understand then i could help you through it.
01-20-2003, 12:49 AM#6
pigchow777
i would simply like to save a hero from 1 map and have the same saved info in the next...simply how do i do dat
01-20-2003, 01:02 AM#7
mikedogdude
Do this:

Trigger 1 (First Map)

Events - (whatever u want to do for it to save the unit)

Actions - Create Game Cache (for now we'll call it X)
- Game Cache - Store Unit in last created game cache
- Game Cache - Save Last created game cache

Trigger 2 (Second Map)

Events - (Map Initialization?)

Actions - Create Game Cache (Same name as last one (X))
-Game Cache - Restore Unit
01-20-2003, 01:05 AM#8
pigchow777
ty much help- can u do this for items too? also will this ad the unit to the editor or do i have to creat him through triggers?
01-20-2003, 01:08 AM#9
mikedogdude
Ok, It should transfer the items with the hero, and I dont know about using custom units because I dont do caches alot
01-20-2003, 01:09 AM#10
pigchow777
ty anyway
01-20-2003, 01:13 AM#11
mikedogdude
Oh, if you meant items by themselves without a hero, you could create a hero, give him the items, store him in the cache, then load him and drop his items and remove the unit.
01-20-2003, 01:16 AM#12
pigchow777
good idea