Created
January 3, 2021 05:14
-
-
Save kbrandwijk/93dc1d7cd5842cf3785bca778af81d72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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