Hi I was wondering if anyone could please help me with figuring out if events can be triggered by a active actor instead of just actor being in the party. Reason for this is I want to force certain actors to serve certain roles and to only perform such roles if they are in 1st party slot or at least in a non reserved slot.
I am unsure if this requires a plugin or not and unsure if any of my plugins would effect this. I am currently trying to make only 2 actors let the party be able to see in the dark while they are in active party slots and not in reserve.
I am using TerraxLighting to create the dark areas but it so far only letting me turn it on and off with if party member=X and not if "active" party member=X and I don't know if there is a way to use switches to read whos in reserve or not.
Thank you
Assuming my brain is working today it should be as easy as step 1, 2, 3.
Step one Set Variable.
Set Variable to Game Data.
Set Game Data to Party Member Slot ID. Aka whoever is in slot 1-8 (Let's say Slot 1 only for now. So only party leader can take effect to what you need. It can be expanded out to check the other 8 slots with more Variables I believe.) it'll set their the Variable's value to their ID whether that is Actor 14 or 27. Or anyone between, before, or beyond.
Step 2 conditional branch that checks if Variable is set to the ID of those two actors.
Step 3, your desired effect.
you need a conditional branch after the control variable to compare the ID of the actor you got with the IDs of the actors that are supposed to trigger the effect.
actually since it's two actors, you'll need two conditional branches, one for each of them and both doing the same as a result.
Okay so this may be my fault for not fully explaining.
So let's say you have actor Batface and Bigears. They are actor's 3 and 8 in your Database.
Firstly you want to set your variable (Let's call it Darksight) to the ID of the lead actor. (Again assuming you only want the leader's darksight to matter, we can expand this out if anyone in the active party can "see" for the party)
Next we need a conditional branch to see if Variable Darksight = 3 or 8, 2 conditional branches. If Captain Normal (ID 1) Louis the Lover (ID 6) Jerry the living mimic Jerry Can (ID 9) etc are the leader then the party is blind.
If either of the conditional branches return true, aka if Darksight equals 3 or 8, then: Enter effect here. (Inside both Conditional Branches) Turn on switch, remove blindness, activate another page, literally whatever you need to do.
If none of the conditional Branches are true then nothing happens and they remain blind.
You can also nest conditional branches inside of one another and use the Else button to add more options if need be. Such as
If Var Darksight = 3
do this
Else
If Var Darksight = 8
do this
Else
Do Nothing.