OnObjectStopMoving

From Onset Developer Wiki
OnObjectStopMoving

Type: Event
Context: Server
Introduced: v1.3.0

Description

Event called when an object stops moving after SetObjectMoveTo.

Syntax

OnObjectStopMoving(object)

Parameters

  • object
    The object which finished moving.

Example

function OnObjectStopMoving(object)
    print("Object "..object.." stopped")
end
AddEvent("OnObjectStopMoving", OnObjectStopMoving)

See also