Possible "active" Actor events?

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.
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.
Thank you a lot I been trying to search this up all night! I will give this a shot when I have time.

Update I got stuck with the ID and not sure how to make it only work for those 2 actors and not just any in slot 1.
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.
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.
Thank you. I am still not sure how is the problem and not understanding how to use ID to trigger the next page instead of just having it trigger with anyone in party.
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.
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.
Thank you I got the mechanics down with a test text box that will spam the user if id of actor = 1 or 6.
Still haven't done it with the light plugin Terrax. I will have to go soon so im probably going to have to attempt getting the light system to trigger with this set up. Anyone know the best way to do this by forwarding the field i used for text box spam to second page?
Also my fault for not warning on my experience level with technical stuff in this sort of things. I mostly draw and 3d model not work with line of code or logic in text. Been years since I touched MV and about 10 since VX. Again thanks everyone that has helped!

Original thread: https://forums.rpgmakerweb.com/threads/possible-active-actor-events.142242/