OnObjectStopMoving

From Onset Developer Wiki
Revision as of 11:34, 7 October 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Event|Server|1.3.0}} {{FuncDescription|Event called when an object stops moving after SetObjectMoveTo.}} {{FuncSyntax|OnObjectStopMoving(object)}} {{FuncParamete...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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