Save-Point
Event Problem - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: General Support (https://www.save-point.org/forum-18.html)
+--- Thread: Event Problem (/thread-1730.html)

Pages: 1 2


Event Problem - thedeadraven - 11-06-2009

RPG Maker XP: Basically, I've been trying for two whole days to get this to work. I've been trying to make it so that when I talk to a NPC on one map, it makes an NPC on another map move a couple places. I've accomplished this, however. The event that i want to move is Event Number 11 : EV011, the problem is on another map, there is another EV011, I even renamed them and stuff and its still using both. And it's really frusturating and I have no idea how to set this up. Exactly what I want to do is after talking to one guy, I want the other NPC to move one space down and then turn left. Thats it! But it's confusing me and I need help.


[Resolved] Event Problem - Guardian - 11-06-2009

The problem is that you can't control events on maps other than the current one. If you were able to do that directly, it would slow down the system a lot because it would have to load all of the maps at once.

The best way to go about this is use a switch, and then on the fadein to the second map (where the NPC that you want to move is located), check if the switch is on. If it's on, then either use Set Event Location or use a move route before fading back in. I can explain further if you want but that's the basic explanation. :3


[Resolved] Event Problem - thedeadraven - 11-06-2009

Ah, well thing is, I'm pretty noob at RPG maker Lol. Um, should I be using common events for this and linking the 2 with switches? I don't really understand but basically i have something like this:

NPC I talk to to make him move:
1st Page:
Text
Control Self Switch = A ON
2nd Page:
Control Switches: 0013: moving 2 = ON
3rd Page:
Blank
----------------------------------------------
NPC I want to move:
Text
----------------------------------------------
Common Event: Parallel, Conditional Switch = 0013:moving 2
Conditional Branch= switch 0013:moving2 = ON
Set Move Route: EV011
- Move Down
-Turn Left
Control Switches = switch0013:moving2 = OFF
Else

Branch End


[Resolved] Event Problem - Alpha-Mad - 11-06-2009

Are you using XP? I can whip up a quick demo for you if you are. If not, I can probably explain it.
EDIT: I noticed you already said you were using XP, give me 10 minutes and I'll get a short demo for you.


[Resolved] Event Problem - Guardian - 11-06-2009

Nope, no common events are necessary. Example (excluding extra event pages for talking or whatever):

Map001
NPC1
Control [Switch 0013: Moving] = ON

Transfer Map001 > Map002
Change Screen Color Tone: (0,0,0,255)
Transfer Player: Map002
Conditional Branch: [Switch 0013: Moving] is ON
---Set Event Location: NPC2 (coordinates of where s/he would end up)
End
Change Screen Color Tone: (Default)


Basically what you need to do isn't what you're thinking you need to do. You simply can't make a character move on a map other than the one you're on. What you need to do is change the position of the second NPC to make it appear that s/he had moved.

I feel like I'm failing at explaining this correctly. Confused Uhm... I hope you understood what I was trying to say. If not, I can take screenshots. Winking

(And don't worry about being new. Everyone is new at some point. :3)

EDIT: Looks like Alpha is making a quick demo which should clear things up.


[Resolved] Event Problem - thedeadraven - 11-06-2009

Alpha-Mad Wrote:Are you using XP? I can whip up a quick demo for you if you are. If not, I can probably explain it.

I am using XP that would be great if you could

Nope, no common events are necessary. Example (excluding extra event pages for talking or whatever):

Map001
NPC1
Control [Switch 0013: Moving] = ON

Transfer Map001 > Map002
Change Screen Color Tone: (0,0,0,255)
Transfer Player: Map002
Conditional Branch: [Switch 0013: Moving] is ON
---Set Event Location: NPC2 (coordinates of where s/he would end up)
End
Change Screen Color Tone: (Default)


Basically what you need to do isn't what you're thinking you need to do. You simply can't make a character move on a map other than the one you're on. What you need to do is change the position of the second NPC to make it appear that s/he had moved.

I feel like I'm failing at explaining this correctly. Confused Uhm... I hope you understood what I was trying to say. If not, I can take screenshots. Wink

(And don't worry about being new. Everyone is new at some point. :3)

I think I understand also so im not really making him move, rather im just giving that effect so I should transfer the player from the 1st npc to the 2nd by changing screen color, transfer, conditional branch , change location of the npc i want moved, and then screen color back, where would I place my char afterwards, kind of like where the changing npc is?


[Resolved] Event Problem - Alpha-Mad - 11-06-2009

There ya go. Test play this first, then go back and look at the comments i put inside each event. This should help.
http://rapidshare.com/files/303003038/Project1.exe.html


[Resolved] Event Problem - thedeadraven - 11-06-2009

On your demo, the character that moved duplicated himself! Guardian could you post screenshots?


[Resolved] Event Problem - Guardian - 11-06-2009

Well, in my example the transfer event would have been used like any door/transfer event would have been used (not autorun or anything like that).

And Alpha's demo worked fine for me, although it's a slightly different method from what I proposed (and his is an easier one). I'm not really sure why you're getting that kind of duplication error. 0_o


[Resolved] Event Problem - thedeadraven - 11-06-2009

my fault for the duplication XD. Um, i copied what is on there from the demo in the exact order and if i talk to the NPC i want moved first, he will completely get rid of the NPC I want to talk to, to make the other one move.