• 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.

Change map while in oher map???

Status
Not open for further replies.
Level 8
Joined
Jul 22, 2008
Messages
331
I wonder...
It goes like this:

-Let's say you are playing a campaign and you are in map named "Map1"...
-You finish that map and you enter another map using game cache.
-Another map is called, let's say, "Map2"...
-Do your quests there and you go back in "Map1"
-When you enter in "Map1" it doesn't look like you left it...
Do I have to make another map for that or it's possible in some easier way?
Just wonder...
 
Level 18
Joined
Aug 13, 2007
Messages
1,584
I wonder...
It goes like this:

-Let's say you are playing a campaign and you are in map named "Map1"...
-You finish that map and you enter another map using game cache.
-Another map is called, let's say, "Map2"...
-Do your quests there and you go back in "Map1"
-When you enter in "Map1" it doesn't look like you left it...
Do I have to make another map for that or it's possible in some easier way?
Just wonder...

When you re-enter Map1, use the event

  • Events
    • Game - A game is loaded
Make an integer that counts how many times you entered Map2, with initial value = 0.

Then in the "departure from Map1" trigger use

  • Actions
    • Set TimesDeparted = TimesDaparted + 1
Make a new trigger called for example "First Return"

  • First Return
    • Events
    • Conditions
      • Integer Comparison - TimesDeparted = 1 Equal to True
    • Actions
      • Whatever actions you'll make.
In the "arrival from Map2" trigger make

  • Actions
    • Trigger - Run First Return<gen>, Checking conditions.
 
Level 8
Joined
Jul 22, 2008
Messages
331
so game is loaded action is used for that purpose?
cool... Thanks... if need something i will post here. OK?

EDIT
Problem is still here (what problem...)
It seams that it doesn't work...
The way you told me looks good for me, but maybe I'm wrong somewhere...
So is it possible to make exact triggers or Do an example campaign...
Thanks
 
Last edited:
Status
Not open for further replies.
Top