stopCurrentPath
Definition
-- @/lua/ge/extensions/core/paths.lua:284
local function stopCurrentPath()
-- switch to free cam
if core_camera.getActiveCamName() == "path" then
commands.setFreeCamera()
end
end
Callers
@/lua/ge/extensions/gameplay/rally/cameraPathPlayer.lua
function C:stop()
core_paths.stopCurrentPath()
end
@/lua/ge/extensions/editor/camPathEditor.lua
if im.Button('Stop', im.ImVec2(stopButtonWidth, 30 * im.uiscale[0])) then
core_paths.stopCurrentPath()
if (core_replay.getState() == 'playback') and not core_replay.isPaused() then
@/lua/ge/extensions/editor/scriptAIEditor.lua
if cwd.isOnExecute[0] == true and #cwd.nodes > 1 then
core_paths.stopCurrentPath()
end
if cwd.isOnExecute[0] == true and #cwd.nodes > 1 then
core_paths.stopCurrentPath()
end
if cwd.isOnExecute[0] == true and #cwd.nodes > 1 then
core_paths.stopCurrentPath()
end
@/lua/ge/extensions/flowgraph/modules/cameraModule.lua
function C:cancelPathCam()
core_paths.stopCurrentPath()
end