http://fantasy21.comyr.com/Handgun%20Template.assetHey there, thought i'd post a template i've been using... this is a base i've been using for line-of-sight weapons in the game.
if you want to check it out, go for it... it's also helpful in showing how to set up some basic flow i'd think.
to note, the actions should be self-explanatory but the "is enemy" action where it calculates the damage to be assigned and sends the event to the enemy it's hit might be a little confusing if i left the settings as empty, so i left them in so you can get a feel for how i've been doing it.
it seems more beastly and complicated than it really is... so, if you need an assist and clicking through the system one state at a time doesn't work for you, feel free to ask.
yes, i know, this is a necro thread but i haven't seen a template sharing thread around.
let me know if you have any issues, i'll try and help out if i can.
how i use it is i drop that on an empty game object that has a spawn-point in it's heirarchy (so that the raycast knows where the point to fire from) and that game object is oriented as needed... i think this could be used on an FPS system as well but it might need some finagling to get it to work well for that scheme (the scheme i have set up is a third-person overhead/isometric shooter type game.)