OnClientObjectMoveStart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Fernando187 (talk | contribs) (Remove obsolete Requirements section) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client event}} | {{Client event}} | ||
{{Added feature/item | {{Added feature/item|1.5.9|1.5.8|20811|This event is triggered when an [[object]] starts moving.}} | ||
==Parameters== | ==Parameters== | ||
Line 20: | Line 20: | ||
) | ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==See Also== |
Latest revision as of 17:26, 7 November 2024
This event is triggered when an object starts moving.
Parameters
None.
Source
The source of this event is the object which was moved.
Example
local obj = createObject (5239, -2417.22339, -606.70374, 132.56250) moveObject (obj, 3000, -2417.22339, -606.70374, 137.56250) addEventHandler ("onClientObjectMoveStart", obj, function () outputChatBox ("Object started moving!") end )
See Also
Client object events
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled