This utility places a group of buttons on the GM screen allowing the GM to set, change and view control codes of player ships. In the scenario script you'll need to do two things.
Require this file:
require("control_code_scenario_utility.lua")
Call function manageControlCodes from function mainGMButtons:
function mainGMButtons()
clearGMFunctions()
addGMFunction("+Control Codes",manageControlCodes)
end
This utility places a group of buttons on the GM screen allowing the GM to set, change and view control codes of player ships. In the scenario script you'll need to do two things.