AI
//argument0=object to check distance and to look at
//argument1=distance
//argument2=object (player)
[code]
if distance_to_object(argument0) direction=point_direction(x,y,argument2.x,argument2.y) image_angle=direction [/code] Labels: Novice
//argument0=object to check distance and to look at
//argument1=distance
//argument2=object (player)
[code]
if distance_to_object(argument0) direction=point_direction(x,y,argument2.x,argument2.y) image_angle=direction [/code] Labels: Novice
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home