Ugh so I tried a trigger, why wont this work?
hurtenemy is a function I made in the serverside section of the script that does some other functions. I intentionally left out a few params on the triggeraction, just for testing purposes. Doesn't work though.
NPC Code:
function onActionClientproj() {
hurtenemy();
}
//#CLIENTSIDE
function onActionProjectile() {
triggeraction(x + 0.5, y + 0.5, "Clientproj");
}