Thanks for reading!
I am trying to get a sword to appear in front of my player but when I enter "player.x + 16" (and I knew this wouldn't work) it just appears behind him when he is facing the opposite direction because it is not in reldist. What I am wondering is how do I make it face the players direction and appear in front of him at all times? Really can't figure this out. Here is what I got so far:
Code:
action sword_stuff()
{
	var percent;
	var sword_timer = 10;
	my.pan = player.pan;
	while(1)
	{
		percent += 0;
		ent_animate(player,"atk",percent,NULL);
		my.pan += 5 * time_step;
		sword_timer -= 1 * time_step;
		if (sword_timer <= 0)
		{
			ent_remove(me);
			return;
		}
		wait(1);
	} 
}




boolean my.awesomeness = so true;