onSetClusterPosRelRot
Definition
-- @/lua/vehicle/main.lua:433
function onSetClusterPosRelRot(cNodeId, pos, relRot)
if ghostOnTp ~= nil then
obj:setGhostEnabled(ghostOnTp)
end
extensions.hook("onSetClusterPosRelRot", cNodeId, pos, relRot)
end
Callers
@/lua/ge/extensions/core/vehicles.lua
-- TODO: Trailer respawn code is currently active, uncomment this when it's disabled
-- local function onSetClusterPosRelRot(vehicleID, cNodeId)
-- if M.resetVehCollectionEnabled then
@/lua/ge/main.lua
-- Async callback when a vehicle's cluster is teleported
function onSetClusterPosRelRot(vehicleID, cNodeId)
extensions.hook('onSetClusterPosRelRot', vehicleID, cNodeId)