• Hey! Register here to create your account, engage with the community, and talk about what is new!

How to select targets long-term

TheSusOne

New member
Joined
Mar 18, 2022
Messages
1
Reaction score
0
Example: I left click on someone, and after a while I decide to right click, inflicting the player I left clicked earlier with poison.

How would I select a player like this? And how would I inflict the effect specifically to the person I last hit?
 
Solution
On Player Damage Player Event, place a set variable, inside the chest put a variable called %damager hit, and a text called %victim. in player right click event, place a Select block and set it to select players by name and put a variable called %default hit inside the chest, now the selection is the long-term victim and anything will be done to it will be done to the long-term victim.

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
1,260
Reaction score
356
On Player Damage Player Event, place a set variable, inside the chest put a variable called %damager hit, and a text called %victim. in player right click event, place a Select block and set it to select players by name and put a variable called %default hit inside the chest, now the selection is the long-term victim and anything will be done to it will be done to the long-term victim.
 
Solution
Top Bottom