Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Getting From One Place To another

Ok, my question is, how do I set it, so you can teleport from one place to another, BUT instead of being directly teleported to one place, your teleported to a ship, then you have to wait about 5 minutes (Game time 5 hours) before you actualy get to your destination?
 
If you create a map (your ship for example) have your character teleport there. Once your hero is on the ship be sure to place an event that runs Parallel Process. Have it wait 5 mins (I'm not sure how many frames that is). After the wait you could put in a message telling the player he/she has arrived at the destination then teleport them to the new map. Hope that helps.
 
That should work. If you want your character to be able to roam around the ship, which you probably do, because waiting for five minutes, doing nothing would be terribly boring, then I think all you have to do, is replace the 'wait' command in the parallel process event, with the timer command, and set it to five minutes.

I think.
 
Luminier;330913":1mtyfo7m said:
That should work. If you want your character to be able to roam around the ship, which you probably do, because waiting for five minutes, doing nothing would be terribly boring, then I think all you have to do, is replace the 'wait' command in the parallel process event, with the timer command, and set it to five minutes.

I think.

He wouldn't have to do that. The Parallel Process option is used for an event to run alongside the character. It shouldn't keep his character frozen. However, that will occur if you use the Autorun option. So just make sure it's set to Parallel Process.
 
rjphillips;330938 said:
He wouldn't have to do that. The Parallel Process option is used for an event to run alongside the character. It shouldn't keep his character frozen. However, that will occur if you use the Autorun option. So just make sure it's set to Parallel Process.

Really? I was under the impression that wait worked the same way in parallel process. Huh.

Well, I just learned something, in the process of trying to help somebody else. Thanks. ;)
 
No problem. And just for a quick definition of the Wait command:The wait command does not "freeze" time. Rather, it "waits" until the set time to continue the rest of the event coding. So if you set it to Autorun it will "Freeze". But if you have it set to Parallel Process it will wait to continue that event's coding while the player is continuing to play.
 
That still leaves one question....

Ok if the guy you ask to bring you to a city, and you have a list of cities, how do you make it so you get sent to the city you wanted?????

Hard to explain...
Do I have to make a bunch of different maps of the same ship with a different transfer setting???
 
The "Ship" scene could be the same, no matter where you are going.
You can set a 'destination' variable to add variety in your dialog while on the ship.
Then, use the same variable to determine where you transfer to when you exit the ship.

Just a thought.

Be Well
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top