• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Hero transferring to the next map (campaign)

Status
Not open for further replies.
Level 15
Joined
Dec 19, 2020
Messages
286
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 15
Joined
Dec 19, 2020
Messages
286
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: 24
Status
Not open for further replies.
Top