GE Lua Documentation

Press F to search!

allowMissionInteraction

Definition


-- @/lua/ge/extensions/gameplay/missions/missionManager.lua:1065

-- WIP for allowing or disallowing missions
M.allowMissionInteraction = function()
  if core_gamestate.state and core_gamestate.state.state ~= "freeroam" then
    return false
  end
  return true
end

Callers

@/lua/ge/extensions/gameplay/missions/missionManager.lua

  --if not M.allowMissionInteraction() then return end