This is a weird question, but tbh i am sincerely at the end of my wits with this, I have tried practically everything and nothing seems to work.
The long and short of the idea is that, using var(12), i can keep track of the current target. Perfectly fine for normal attacks, no bother whatsoever, BUT, when i try to use a Helper in this, that's where things get a lil...fucky
Idk if this is some mega obvious thing i missed somehow but here goes. My initial idea was to track the Target when the Helper made contact with the enemy. No dice. Next idea was to store that info in the Helper upon contact, and shoot it to the root. The maddening thing is IT WORKS, like, it shoots back the correct ID and all that, but corresponding code simply didn't trigger (example of the kinda code in question)
[State -2, Glass break sound effect];FA kill sound
type = PlaySnd
triggerall = PlayerIdExist(var(12)) ;enemy exists
triggerall = cond(numtarget,!(target,ishelper),0) ;Additional Safety
triggerall = !(target, alive)
trigger1 = target,time = 1 ;enemy is in custom hit state
trigger1 = target,StateNo = 1323
value = 1323, 0
ignorehitpause = 1
I even tried using the Cond Exploit to shoot back the ID at the point the opponent enters the Target State
[state 1320, Chuck over target Data]
type = Null
;trigger1 = time <= 0
trigger1 = PlayerIDExist(gethitvar(fall.envshake.ampl)) ;Make sure enemy exists
trigger1 = gethitvar(fall.envshake.freq) != Teamside
trigger1 = PlayerID(gethitvar(fall.envshake.ampl)),cond(1,var(12) := 57,0)
value = 1324
ignorehitpause = 1
These do chuck the correct data back to my character, but the code just doesn't trigger. Am i missing something mega obvious here? Please let me know if i'm just being an idiot somewhere
Vid example: The projectile should always cause the glass break FX and sound to trigger, but it doesn't despite var(12) having the correct ID
https://cdn.discordapp.com/attachments/560287470390870016/920707585160659004/Broly_be_buggin.mp4