isF_DurationNode
Definition
-- @/lua/common/extensions/ui/flowgraph/editor.lua:842
local function isF_DurationNode(category)
return category == 'repeat_f_duration'
or category == 'once_f_duration'
or category == 'dynamic_f_duration'
end
Callers
@/lua/ge/extensions/flowgraph/basenode.lua
-- check if f_duration
if ui_flowgraph_editor.isF_DurationNode(self.category) then
self:autoCreatePin('out', 'flow', 'incomplete', nil, "Puts out flow, while this node's functionality is not completed.", nil, true)
function C:setDurationState(state)
if not self.category or not ui_flowgraph_editor.isF_DurationNode(self.category) or self.durationState == state then
return
-- handles f_duration nodes output pins depending on state
if ui_flowgraph_editor.isF_DurationNode(self.category) then
@/lua/ge/extensions/editor/flowgraph/references.lua
-- check if f_duration
if ui_flowgraph_editor.isF_DurationNode(category) then
if not self:pinExists(nodeName,'out','incomplete') then