RPG Maker VX Ace

RPG Maker VX Ace

Statistiche:
Beginner Question - Make an event face a specific event
Hi there.

I want to make an event (which is a NPC) face another event (another NPC) circling around it.

I've seen there's an option to make an event face the Hero. Is there something to make it face another specified event?

Thanks for reading!
< >
Visualizzazione di 1-7 commenti su 7
I honestly can't think of a way... I'm sure LoneWolfDon will have an answer for it. Try asking around in the web forums of RPG Maker. you'd probably get a faster response too!
What is the trigger? Or, do you want this orrcuring constantly? Like, have one NPC walking in a circle around another NPC, then when he's either above, right-side, below, left-side have the NPC in the middle automatically turn to face the circling NPC accordingly?
I have a couple of ideas of how I might do something like that.
Ultima modifica da Mystix; 5 giu 2014, ore 11:57
I was thinking about keeping track of a variable with numbers... But I'd have to iterate on that and test.
Okay, here's a quick example I set-up (see the screenshot), no script needed in this case:
https://www.dropbox.com/s/qeo46qc5wnpkpaq/NPC_circle_NPC.jpg

There are two events, both starting off as facing down (by default).
The NPC event in the middle is EV015, the NPC event circling around is EV016.
EV016 starts off in the bottom-right corner-tile (South-East corner) adjacent to the NPC event in the middle.

This works, as I tested it on my end.
However, if the Player character interferes (walks into the path of the circling NPC), it can mess-up it's normal walking route/path, so to do it this way you'd want to have those NPC events in a spot the Player can't reach to walk on, otherwise you may need a different method of how to do it.

Well, hope that helps. Cheers! ;)
Ultima modifica da Mystix; 5 giu 2014, ore 11:55
Many thanks for your time and your answers, gentlemen!

This is what I'm trying to do:

The PC has to steal the armor and the helmet of the knight fooling around on the left of the screen. I gave the knight and the green girl specific itinerary in order to make him chase her around the bed and I wanted the red one, sitting on the bed to look at them. A check of the PosX of the PC prevent him from entering in the room.

I first hoped there would be a simple command to make events face other events but it seems there isn't. I was trying to use face right, wait some frames, face up, wait some frames and so on, but I have to make blind guesses to get an uncertain result.

[edit]Hey, thanks for your example, LoneWolfDon! I'll have a look at this!
Ultima modifica da Not Quite Dead; 5 giu 2014, ore 21:59
Sure, you're welcome.. Refresh that screen-shot, as before I was in a hurry and forgot to check the Walking Animation for that event... I've since updated the screenshot.
Anyways, hope that helps and gives you some idea that you may be able to use. Good luck.
I tried your method and it works fine.

Thank you very much for your help!
< >
Visualizzazione di 1-7 commenti su 7
Per pagina: 1530 50

Data di pubblicazione: 5 giu 2014, ore 10:18
Messaggi: 7