So I'm wanting to make a concentration spell that fires at the player whenever they are in range of a trap. The idea is that as long as the player is in range, they are getting a spell like "frostbite" (as an example) cast on them.
Everything works in the sense that the casting toggles on and off successfully. But I've discovered the target never updates - if Cast() targets the player, it will only target the player at the exact spot they were at when the casting started.
Is there a way to get Cast() to track a moving target? Otherwise I'm afraid I'm going to have to go with the much more visually boring option of just using a cloak.
I searched and the only thing that might come close was someone had used an invisible actor with a moving xmarker to have that actor cast a spell at the xmarker. A good idea, but wouldn't work with the setup I have for my trap.