Common functions: faceslow.iss

don'tdoit

Active Member
This may or may not have a few kinks in it, but i tested on 2 chars on 2 comps and it works great for me.

Code:
/*
	Code by don'tdoit
  Math in function Angle by ${Allen}
  
  Purpose: Faces a mob or loc slowly using natural keyboard turning.

	NOTE: This is NOT a standalone script.  It is an include.
	Put into your scripts/common folder.
	To use add this to the top of your script:
		#include ./common/faceslow.iss
	Then:
		call facemob ${yourMobIDvar} ##
		or
		call faceloc ${X} ${Y} ##
	where ## is the precision of how close you want to face.
	
	Version:
	v1.0 - initial release

*/
Any questions, code corrections, etc can be posted here:
http://www.isxgames.com/forums/showthread.php?t=687
 

Attachments

Top Bottom