Skip to content

Instantly share code, notes, and snippets.

@kbrandwijk
Created January 3, 2021 05:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbrandwijk/93dc1d7cd5842cf3785bca778af81d72 to your computer and use it in GitHub Desktop.
Save kbrandwijk/93dc1d7cd5842cf3785bca778af81d72 to your computer and use it in GitHub Desktop.
local modDirectory = g_currentModDirectory
function loadHelplines()
self.helpLineManager:loadFromXML(Utils.getFilename("helpLine.xml", modDirectory))
end
function load(mission)
loadHelplines()
end
function init()
-- Loading of your own hints needs to happen after the basegame initializes, but before the mission is loaded
Mission00.load = Utils.prependedFunction(Mission00.load, load)
end
init()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment