| 01-02-2004, 08:42 PM | #1 |
for some reason, whenevr i tried to test out using the game caches in a campaign the following happened: on my first map, to test the cache, i had arthas standing there, and my triggers were: EVENT: map initialization CONDITIONS: (none) ACTIONS: create a game cache from (testcampaign.w3v) store Arthas as (Arthas) of (Player) in (Last Created Game Cache) save last created game cache victory (player 1 -red) once that map eneded, instead of going to my next map, it just started over agin, then started over agin, and again. if anyone knows wat to do plz help me. |
| 01-02-2004, 11:21 PM | #2 |
You need to use the Game - Set Next Level action to set the next level to the filename of whatever your next level is. Maps in a campaign aren't stored in a linear fashion (this way, you could have a campaign branch out). |
| 01-03-2004, 04:05 AM | #3 |
SwordMaster, does the cache itself work by doing that? Because mine never do... it just never restores the hero, and I have basically the same script you do. I told it to make the cache, store the hero, and save, then on the next map in the campaign I recreated the cache, restored the hero, and then the hero never showed up. Everything is spelled right, it loads the next level fine, nothing was wrong as far as I could tell, but it never made the hero. I just can't figure it out. |
| 01-03-2004, 04:11 AM | #4 |
Caches work fine for me...I'm using one in my campaign, and haven't had any probs with it. |
| 01-03-2004, 04:13 AM | #5 |
Are you doing the same thing I am? Or are you using them differently? |
| 01-03-2004, 04:54 AM | #6 |
Well, my triggers are much the same as Swordmaster's...Post yours, and I might be able to see what's wrong. |
| 01-03-2004, 05:14 AM | #7 |
It goes: Events: (Unit) enters (Region) Conditions: (Triggering Unit) is equal to (Pit Fighter 0010) Actions: Create cache from Campaign.w3v Store (Pit Fighter 0010) as (Hero) of (MapI) in (Last Created Cache) Save (Last Created Cache) Game - Victory for Player 1 Then, in the 2nd map: Events: Map Initialization Conditions: None Actions: Create cache from Campaign.w3v Restore (Pit Fighter) from (Hero) of (MapI) in (Last Created Cache) Then it goes on to send a transmission from the last restored unit, but there never is a unit there. The rest goes on as normal, but the hero is never created. |
| 01-03-2004, 05:24 AM | #8 |
Did you do a copy as text and paste it into here? Your triggers look like you typed them in yourself. Here's the cache I use for restoring a unit: Game Cache - Create a game cache from centaur.w3v Game Cache - Restore Brolg01 of Heroes from (Last created game cache) for Player 1 (Red) at (Center of Brolg Start <gen>) facing 90.00 I can't very well analyze the script if I can't see it exactly like you would in the map editor :P |
| 01-03-2004, 02:45 PM | #9 |
yeah actually i did set the next level. i just forgot to put it:bgrun: and my triggers r just the same as gung_ho's. mine just wont go to the next level for some reason...:( |
