Definition
-- @/lua/ge/extensions/core/recoveryPrompt.lua:522
local function setButtonEnabledById(id, e)
if not buttonOptions[id] then log("W","","Tried to set enable for button, but the id couldnt be found: " .. dumps(id)) return end
buttonOptions[id].enabled = e
if e then
buttonOptions[id].active = e
end
end
Callers
@/lua/ge/extensions/flowgraph/nodes/gameplay/recoveryPrompt/setRecoveryPromptButtonEnabled.lua
function C:workOnce()
core_recoveryPrompt.setButtonEnabledById(self.pinIn.id.value, self.pinIn.enabled.value or false)
end
@/lua/ge/extensions/flowgraph/nodes/gameplay/recoveryPrompt/setRecoveryPromptActive.lua
--if self.pinIn.enableAll.value ~= nil and then
-- core_recoveryPrompt.setButtonEnabledById(o, self.pinIn.enableAll.value and self.pinIn[o].value)
--end
@/lua/ge/extensions/flowgraph/nodes/gameplay/recoveryPrompt/setRecoveryPromptEnabled.lua
if self.pinIn[o].value ~= nil then
core_recoveryPrompt.setButtonEnabledById(o, self.pinIn[o].value)
end