SCED/src/core/NavigationOverlayApi.ttslua

17 lines
493 B
Plaintext
Raw Normal View History

2023-05-08 20:26:15 +02:00
do
local NavigationOverlayApi = {}
local HANDLER_GUID = "797ede"
-- Copies the visibility for the Navigation overlay
---@param startColor String Color of the player to copy from
---@param targetColor String Color of the targeted player
NavigationOverlayApi.copyVisibility = function(startColor, targetColor)
getObjectFromGUID(HANDLER_GUID).call("copyVisibility", {
startColor = startColor,
targetColor = targetColor
})
end
return NavigationOverlayApi
end