GE Lua Documentation

Press F to search!

enableToggling

Definition


-- @/lua/ge/extensions/gameplay/walk.lua:331

local function enableToggling(enabled)
  togglingEnabled = enabled
end

Callers

@/lua/ge/extensions/flowgraph/nodes/gameplay/allowWalking.lua
    if self.pinIn.allow.value then
      gameplay_walk.enableToggling(true)
    end
    if self.pinIn.deny.value then
      gameplay_walk.enableToggling(false)
    end
    if self.pinIn.set.value then
      gameplay_walk.enableToggling(self.pinIn.enable.value)
    end
@/lua/ge/extensions/flowgraph/modules/actionModule.lua
  if self.originalWalkingModePermission ~= nil then
    gameplay_walk.enableToggling(self.originalWalkingModePermission)
  end