HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with hero XP

07-24-2004, 03:50 PM#1
opSneakie
:( ok, so i'm making a TFT campiagn, and i want my hero's experiance from mission 1 to carry over into mission 2. Does anyone know how to do this? Plz help, this is stopping the production of my campiagn, which i would like to get finished pretty soon. I need the hero's player-chosen abilities and stuff to carry over into the following missions. Someone help!
07-24-2004, 04:17 PM#2
Shimrra
You have to use game cache to save your Hero and then load it in the next level.

An example:

Code:
Game Cache Save
    Events
    Conditions
    Actions
        Game Cache - Create a game cache from UndeadLevel1.w3v
        Game Cache - Store No unit as Arthas of UndeadLevel1 in (Last created game cache)
        Game Cache - Save (Last created game cache)

Code:
Game Cache Load
    Events
    Conditions
    Actions
        Game Cache - Create a game cache from UndeadLevel1.w3v
        Game Cache - Restore Arthas of UndeadLevel1 from (Last created game cache) for Player 4 (Purple) at (Player 4 (Purple) start location) facing 0.00
07-24-2004, 11:47 PM#3
OneWinged4ngel
Quote:
Originally Posted by Shimrra
You have to use game cache to save your Hero and then load it in the next level.

An example:

Code:
Game Cache Save
    Events
    Conditions
    Actions
        Game Cache - Create a game cache from UndeadLevel1.w3v
        Game Cache - Store No unit as Arthas of UndeadLevel1 in (Last created game cache)
        Game Cache - Save (Last created game cache)

Code:
Game Cache Load
    Events
    Conditions
    Actions
        Game Cache - Create a game cache from UndeadLevel1.w3v
        Game Cache - Restore Arthas of UndeadLevel1 from (Last created game cache) for Player 4 (Purple) at (Player 4 (Purple) start location) facing 0.00


I think you have to add RELOAD ALL betweed create and restore...
07-25-2004, 03:38 AM#4
Shimrra
This is an example for a in-between map trigger, not for the same map.