• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Hero transferring to the next map (campaign)

Status
Not open for further replies.
Level 13
Joined
Dec 19, 2020
Messages
237
Hello everyone!

I've created these triggers to transfer a hero from one map to another.

  • Trigger - Turn off (This trigger)
  • Game Cache - Create a game cache from RokaroCampaign.w3v
  • Set RokaroCampaign = (Last created game cache)
  • Game Cache - Store Rokaro Fairsight 0109 <gen> as Rokaro of RokaroFirstMission in RokaroCampaign
  • Game Cache - Save (Last created game cache)
  • Game - Show custom campaign button 2
  • Game - Set the next level to Map2 Dead man walking.w3x
  • Game - Victory Player 1 (Red) (Show dialogs, Show scores)
  • Game Cache - Create a game cache from RokaroCampaign.w3v
  • Game Cache - Restore Rokaro of RokaroFirstMission from (Last created game cache) for Player 1 (Red) at (Center of Hero loading <gen>) facing 270.00
  • Set Rokarorestored = (Last restored unit)
The hero doesn't show up, although I thought this is the right way to do it. Am I doing it wrong? Otherwise, it might be a technical problem with my editor (it is acting strange lately).

Thanks in advance!
 
Level 13
Joined
Dec 19, 2020
Messages
237
No problem. Thanks for taking a look. I've added my campaign file to this post, so you can see it for yourself.
 

Attachments

  • Tale of the two brothers-Campaign V2.0.w3n
    5.2 MB · Views: 18
Status
Not open for further replies.
Top