If the player wears a certain combination of clothing items, NPCs would act differently?
So, let's say... maybe you could wear a disguise, and enemies won't fight you, but allies might?
Different things happen depending on your clothes?
● ARCHIVED · READ-ONLY
-
-
Could you clarify the purpose of your poll? Are you trying to get suggestions on which engine to use?
In either engine, this can be done through eventing. -
can be done, but not by default options. you'll either need some script lines to check current equipment or a parallel process checking current equipment
-
Thanks, I'll try both.
I put up that poll to see which engine people thought was better. -
@Jax559 That isn't what the poll is asking - in fact, unless someone were to read your later post, there is no indication that it's asking anything at all. It is also completely unrelated to your question about clothes, but seeing it there the overwhelming majority of people are going to assume that it is in some way related, as that's what polls are supposed to be.
As it is such a different topic, I suggest that if you really want to know what people think, you start a new thread. The question of which is the "better" engine can't really be answered by a simple click because there are a lot of factors. -
Sorry, I'll fix it.@Jax559 That isn't what the poll is asking - in fact, unless someone were to read your later post, there is no indication that it's asking anything at all. It is also completely unrelated to your question about clothes, but seeing it there the overwhelming majority of people are going to assume that it is in some way related, as that's what polls are supposed to be.
As it is such a different topic, I suggest that if you really want to know what people think, you start a new thread. The question of which is the "better" engine can't really be answered by a simple click because there are a lot of factors. -
If you don't want to use extra scripts, you can do this with completely standard functions (albeit with a caveat, at the end). What you need to do is make conditional branches where each conditinal checks the respective character for whether they wear the "disguise" or not (I suggest headgear and body for disguise stuff since the rest is fairly unimportant for that - although having no weapon equipped might also be useful if the disguise is supposed to be a peasant or something). It can either be directly a resulting switch, or via a counter for each character/equipment wearing disguise things (and maybe not being armed) with the maximum counter value being the one for the disguise to work.
You put this set of conditionals into a Common Event.
You then have several options:
-either your NPCs autorun the common event and depending on whether the switch is on, or the counter is at max, they jump pages with a set of different behaviour (this is also just about the only option if you want enemies to chase you when out of disguise)
-alternatively you set a map-event (which has to be the first in the list so it ALWAYS runs first) that autoruns and auto-erases when it did the Common Event and checked whether your characters are disguised, or not
Caveat:
If you do it purely like this, you have the issue that doing the disguise, going somewhere where NPCs are waiting, and then take it off, will not change their behaviour. What you would need in this case is either making the disguise irremovable, or rely on a small script which makes the game run your checker CE whenever you close the menu (the second option would spare you having to define the CE in map events though). -
Just use a conditional that checks if the actor has a certain armor equipped.
-
Tsukihime has an "Equip Events" script that runs common events if the character has put on/taken off tagged equipment. If you aren't up for scripts, do as other people have already said before and use conditional branches on common events.