onResetGameplay
Definition
-- @/lua/ge/extensions/scenario/scenarios.lua:2030
local function onResetGameplay(playerID)
-- log('I', logTag, 'onResetGameplay called....')
if not scenario then return end
restartScenario()
end
Callers
@/lua/ge/extensions/flowgraph/nodes/events/controlsReset.lua
function C:onResetGameplay()
self.reset = true
@/lua/ge/extensions/util/richPresence.lua
local function onResetGameplay()
if Steam then
@/lua/ge/extensions/flowgraph/nodes/ui/updatedUI/endScreenWhole.lua
function C:onResetGameplay()
if self.open and self.data.includeRetryButton then
@/lua/ge/extensions/campaign/campaigns.lua
local function onResetGameplay(playerID)
if not getCampaignActive() then return end
@/lua/ge/extensions/flowgraph/nodes/ui/endScreen.lua
function C:onResetGameplay()
if self.open and self.data.includeRetryButton then
@/lua/ge/extensions/flowgraph/nodes/ui/missionEndScreen.lua
function C:onResetGameplay()
if self.open and self.data.includeRetryButton then
@/ui/modules/menu/menu.js
// // action: () => {
// // bngApi.engineLua("career_modules_playerDriving.onResetGameplay()");
// // },
@/lua/ge/extensions/flowgraph/nodes/gameplay/race/raceEndScreen.lua
function C:onResetGameplay()
if self.open and self.data.includeRetryButton then
@/lua/ge/extensions/flowgraph/nodes/ui/updatedUI/endScreenBegin.lua
function C:onResetGameplay()
if self.open and self.data.includeRetryButton then
@/lua/ge/extensions/core/recoveryPrompt.lua
local function onResetGameplay(playerID)
if active then
@/lua/ge/extensions/freeroam/freeroam.lua
local function onResetGameplay(playerID)
if scenario_scenarios and scenario_scenarios.getScenario() then return end