Now i managed to create my custom power which adds a temporary effect to the player (took me a while to figure out that it's a fire and forget effect, not constant effect :/), however, i have no idea how to get a script running when the player hits a target
Things i have tried / thought of:
-add a script to the temporary effect, but i couldnt find a "onAttack" event or anything similar to it on the wiki
-add a magic "on contact" effect with my script attached - got some weird behavior, basically my script would only fire if I activated the power while directly running into an enemy (adding a duration didn't help)
-dynamically adding onHit scripts to all nearby actors... sounds way too complicated for what im trying to do
-register my script to receive updates and check if i am attacking.. but how would i find out if i actually hit something?
im just looking for a simple way that lets me execute a script when i hit something with a weapon

