Make an action on an object consider the variables of another object

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

make something like “set an object’s position to another object’s pointX, specifically the pointX of an instance of the other object whose object variable is Z”? I know events can be made to only pick instances of objects whose variables, positions, etc. meet the conditions, to apply actions to, but how can I make it consider another object’s variables and stuff as well?

What is the expected result

I’m trying to make it so that objects can be picked up and tossed into the air by players, with the requirement for the object flying into the air being that the object and the player holding it have the right variable value, and the player is on the right frame of the animation. It works like:

if
status of object = x
status of player = y
animation of player = toss
animation frame of player = z
then
send object into the air

What is the actual result

The problem is that if multiple players pick up an object at slightly different times, since the event will send every instance of that object whose status is x into the air as soon as any player gets to frame z of their toss animation. I know an event with object variable requirements will apply the action(s) to every instance of that object that meets the requirement. Is there a good way to make the other tossable objects not have enough in common to also get sent?:thinking:

Related screenshots