ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server events
  3. onObjectRespawn

Event

onObjectRespawn

ServerObjectsTrilogy Hub only

An object returned to its place and is repaired (respawnObject).

Handler

addEventHandler("onObjectRespawn", root, function() ... end)

Source

source is the object.

Example

addEventHandler("onObjectRespawn", root, function()
    outputServerLog("Obiekt naprawiony")
end)

See also