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.

Newbie needing help with Cutscene.

I'm using XP. I'm making an opening cutscene with dialog between two people. Between the "messages", I have people walking past the conversation. I have opened the "graphic", "define route" and all that, but here's what happens: I have mulitple pages on my event and a variable that gets increased each time. When my NPC finishes their route, the game just stops. It doesn't proceed to the next page of the event. If I put a "Variable: [0001] +=1" command on the "Event command" list, the game just bypasses my NPC walking and goes to the next page. I don't know how to get my game to progress to the next page after my NPC has finished their route. Please help a newbie. :)
Another newbie question: about scripts. Do I just copy scripts and put them on the "Event command" list or do I go into the script editor and paste them there? Thanks!
 
Protip: Posting screenshots makes this easier.

However, to the point: I've noticed two major causes of game freezage. One: Wait for Move's Completion, combined with an impossible move. To test for this, either check "Ignore if can't move," which will prevent the freeze, or "Through" on any moving events, which will let you spot where the impossible movement is taking place.

The other: An Autorun event where you've forgotten to have anything at the end turning the event off will cycle forever, preventing the player from doing any actions. (I can't tell if this is the case, which is why screenshots are good.)

BTW, if you're using multiple pages for one event sequence... you don't have to. A page can be as big as you want it to be, with as many commands as you like. Doing it that way will produce a simpler event, which will mean fewer chances for a mistake to creep in and lock the whole thing up.

Re: Scripts: You generally paste them into the script editor, right above Main, with a few exceptions where you just alter the existing game script.

I don't think that it's possible to alter the Event command list, actually. With some scripts, of course, you'll need to use Script Calls from the Event list, but that's another issue.
 
Thanks Unka Josh! I managed to get it working after posting my question after changing the autostart to parallel process. I haven't tried putting all of it on one page yet; I'll do that and see if it works. My next task will be getting my NPC and my hero to talk "inside" a house. I think I can get the NPC gone but I'm not sure about my hero. As you can tell, I am very new at this. :)
 

Tindy

Sponsor

Talk "inside"? As in, go from being outside, walk into a house, and continue the conversation? There's going to have to be a break in the conversation, but once you've disappeared your NPC (and reappeared him in the house), all you have to do is make a "Transfer Player" event either on the doorway (which lets the player bring him inside) or tacked on somewhere at the end of the outside conversation that brings the player inside (which of course is a new map).
 
No problem! I've got it handled! :biggrin: Stupid beginner luck is holding so far.But I have a new question if anyone can help: how do I put my little character picture inside the message box with it looking faded? I'm not sure if it will even fit anyway without the whole message box shifting to the left or right and I don't know how to accomplish that either. :)
 
Well, what script are you using to display the picture? (It won't work without a script.)

Alternative idea if you don't want to script: Import an image of the character into the Pictures file, and use Show Picture and Erase Picture to display the image above the message box. (Scripts will often work better, of course.)
 
yeah. That's what I'm doing: showing picture and then erasing. It does well enough, I guess. What little I've seen of scripts makes me want to keep them at a distance. Brrr! I learned a little computer code 20 years ago and it just amazes me what young people know now. All of you must be geniuses. :) There's a new button I've discovered on the game (think it's called change window skin) that I'm gonna try out. And I need to explore putting bigger pics of my characters in the status and such windows.
 
By the way; I think some info that I learned on one of the rmxp websites is incorrect. It states that, when you run an "erase event", the event will reappear if you leave the map and then re-enter it. This does happen if the erase event is on the same page, but if you put it on another page, it will destroy the event for good.
 

Zeriab

Sponsor

Not really.
The situation you have encounter is probably just that the event is erased every time you re-enter the map. It is created, then erased.
The effect can look similar, but there is a difference. Mainly that if you turn on another switch or whatever so a higher order page fulfills the conditions the event will be present if you re-enter the map.
It would not be present if the event was erased for good.

My version can be confirmed by looking at the scripts ^_^

*hugs*
- Zeriab
 
I have a new problem that, hopefully, someone can shed light on. I am moving an event (change event location) and using parallel process on that page. Switch 0001 being ON is the precondition and is turned on in another event. Okay; I run the game and the event gets moved like it is supposed to. HOWEVER, if I leave the map to another map and then return, the event is back in it's old location!!
 
Yep. That's how it works. Change Event Location isn't permanent.

It's kind of a pain, but here's how you have to do it:

The moved event needs another page, one with no graphic that's activated by a switch when you finish the event.

Then, at the location you moved the event to, you need an event that's blank on the first page, but has the event's graphics as the last one, again activated by that same switch.
 

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