a very simple trick is to animate the sword with the player....other than that you can attach the sword to a vertex and align it along another vertex(or vertexes...roll and tilt)...this is provided you have the vertexes to work with, pre-meditated ....but as you seem new to coding in general, or just 3dgs, I recommend animating it with the player. Then just copy the players coords and pan to the sword every frame and you're good to go.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/