Difference between revisions of "A FaceTarget"

From ECWolf Wiki
(Created page with "'''A_FaceTarget''' [(float ''max_turn''[, float ''max_pitch''])] Changes the actor's angle to face the actor's target. The max angle this function will turn, in degrees, can b...")
 
m
 
Line 1: Line 1:
 
'''A_FaceTarget''' [(float ''max_turn''[, float ''max_pitch''])]
 
'''A_FaceTarget''' [(float ''max_turn''[, float ''max_pitch''])]
 +
 
Changes the actor's angle to face the actor's target. The max angle this function will turn, in degrees, can be limited by the ''max_turn'' parameter (default is 0 which means unlimited).  ''max_pitch'' is currently unimplemented and should not be used.  The default for it is 270 degrees.
 
Changes the actor's angle to face the actor's target. The max angle this function will turn, in degrees, can be limited by the ''max_turn'' parameter (default is 0 which means unlimited).  ''max_pitch'' is currently unimplemented and should not be used.  The default for it is 270 degrees.

Latest revision as of 13:42, 1 October 2012

A_FaceTarget [(float max_turn[, float max_pitch])]

Changes the actor's angle to face the actor's target. The max angle this function will turn, in degrees, can be limited by the max_turn parameter (default is 0 which means unlimited). max_pitch is currently unimplemented and should not be used. The default for it is 270 degrees.