HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item\Unit\Gold Transfer

07-20-2003, 03:23 AM#1
Pheonix-IV
How do i transfer my Heros, Items that the heros had and the gold + lumber from map A to map B in a campaign?
07-20-2003, 03:25 AM#2
yoda_24
use the game cache since blizzards nice triggers that would do all that are only for their maps...
07-20-2003, 03:29 AM#3
Draco
Well, have the same unit stats and stuff in both maps.

Do you know how to use game cache?

- - -

FOR MAP 1

Create Game Cache titled (GC) [example only; use whatever]

Store unit (your hero) as "Hero" in catagory "map1"

Store integer players current gold as "playerXgold" in catagory "map1"

Store integer players current lumber as "playerXlumber" in catagory "map1"

Save Game Cache

- - -

FOR MAP 2

Create Game Cache (GC) [MUST BE SAME NAME AS BEFORE!!!! :D]

Restore unit "hero" at region Y from last created game cache

Set players current gold or whatever to (load integer from game cache **self-explanitory basically**

- - -

YOU'RE DONE!!!!!!!!!!


:D