isTogglingEnabled
Definition
-- @/lua/ge/extensions/gameplay/walk.lua:335
local function isTogglingEnabled()
return togglingEnabled
end
Callers
@/lua/ge/extensions/flowgraph/modules/actionModule.lua
function C:executionStarted()
self.originalWalkingModePermission = gameplay_walk.isTogglingEnabled()
@/lua/ge/extensions/flowgraph/nodes/gameplay/isWalkingEnabled.lua
function C:work(args)
self.pinOut.value.value = gameplay_walk.isTogglingEnabled()
self.pinOut.allowed.value = self.pinOut.value.value
@/lua/ge/extensions/core/quickAccess.lua
-- Add vehicle entry/exit action
if gameplay_walk.isTogglingEnabled() and not core_input_actionFilter.isActionBlocked("toggleWalkingMode") then
local vehicleInFront = gameplay_walk.getVehicleInFront()