Checking which direction an event is facing?

I was a little misunderstood when I offhandedly remarked on the lack of such a function for this xD

Basically, you can check which way an actor is facing, but is there a way to check which way an EVENT (not the player and not an actor) is facing? Like, if a statue is facing 2/down?
It's done exactly the same way as checking the player's facing direction, you just choose an event from the list instead of the player.
It's done exactly the same way as checking the player's facing direction, you just choose an event from the list instead of the player.
I am a giant moron. Thank you.
Shaz said:
You can check the direction an event is facing in MV.


Conditional Branch > Tab 3 > Character (select event) > is facing (select direction)
I gave you exactly the command to use. I didn't misunderstand you.
I gave you exactly the command to use. I didn't misunderstand you.
I misunderstood that you did not misunderstand me 😛


To be fair, the command is strangely hidden under "character" which heavily suggests the player itself. It should probably be called "event" or arranged differently so it doesn't have to say either, or somesuch. It's just a little confusing, particularly when you go to move route and it defaults on the "player" when you can change it to another event, and there is no labelling of the "event" or "character" as such!


I've never used this feature before, plz forgive my moronicness either way XD
tbh, I think the drop-downs are easy to miss (maybe not this one so much as some of the others). Same with Set Move Route command - a lot of people don't know that you can apply it to events as well as the player.


Control Variables and Conditional Branch both have a whole stackload of options. I'm probably familiar with most of them because I've written a number of scripts/plugins where I've had to go line-by-line through the code to see what they did. The both warrant a thorough exploration 🙂
Yeah, the label for that particular dropdown was "character" so it's not really surprising I missed it, given that, well, you don't expect an event to be called a "character" and I've never ever touched it before now. Conditional branching seems to have quite a few options more than most other options the engine has, but a few plugins (like Galv's) often add in what is missing, such as if player is at X/X (go to X/X in move route additions).


There's quite a few tutorials on basic things around the engine like making quests, but not so much on the more advanced or easily-missable things - maybe it'd be a good idea to make a quick-fire tutorial series of things even advanced users could've missed? Not like an hour per thing, but maybe like a couple of minutes per thing max. Like Tsukihime's "did you know?" series. No guarantee people would watch it, but it's more likely for someone to look at a quick screenshot like Tsuki's than watch a 10-min tut.


I'm kind of wondering what else I could've missed until now! 😛
Most people call events NPCs - non-player Characters.
Most people call events NPCs - non-player Characters.
I will admit I have never heard of that term, especially given that events can also be inanimate objects 😛
I'm surprised you've never heard of it. It's a VERY common term in RPGs - so common that you will see a lot of people here calling them NPCs rather than events, and we have to remind them that events are not NPCs all the time (in fact there's even a blog article written by Touchfuzzy called "Events are not NPCs")
I meant in the context of calling events NPCs. It's probably because all NPCs are events, but not all events are NPCs, that I do not associate 'character' with 'any event' (check if 'any event' is facing 'north') so therefore, the better wording would've been 'event', not 'character', yes?
But if it said Event, would you know to go looking there for the character's/player's direction?
But if it said Event, would you know to go looking there for the character's/player's direction?
Ooh, tough one... Similarly, the same can be said the other way around though!


What about:


Character/Event Direction
haha - that's too many words 🙂


Consider that img/characters is where the sprites come from for your events (apart from the tileset) - and not all of those are characters either.


I think they've just chosen "characters" as the generic term for events and players, and it's up to us to explore and learn what the different commands have to offer.

Original thread: https://forums.rpgmakerweb.com/threads/checking-which-direction-an-event-is-facing.52275/