Format
step_towards(Ref,Trg,Speed)
Returns
1 on success; 0 otherwise.
Args
Ref
: A mob or obj.Trg
: An object on the map.Speed
: Speed to move, in pixels. 0 uses Ref.step_size.
Move Ref in the direction of the location Trg.
step_towards(Ref,Trg,Speed)
1 on success; 0 otherwise.
Ref
: A mob or obj.Trg
: An object on the map.Speed
: Speed to move, in pixels. 0 uses Ref.step_size.Move Ref in the direction of the location Trg.