User Tools

Site Tools


final-fantasy-tactics:mod-script-functions

This is an old revision of the document!


this.game.includeMod(modName, callFunction = null, args = [])

Includes another mod of the same game. modName must match the directory name of the mod. You may call a specific function with arguments immediately, or you can interest with the object class as you desire through this.game.mods[modName] once it executes.


this.updateMapFiles(GNSFile, files = {})

Reads the byte data of a GNS file and replaces the sectors/files in the ModImg of that file to match the ones specified in files with a format of { "OldMapPathA": "NewMapPathA", "OldMapPathB": "NewMapPathB" }


this.game.bindMapID(mapID, GNSFile)

Sets the link in BATTLE.BIN of a given map ID to point toward a map GNS of your choice. This allows you to use multiple versions of the same base map.

final-fantasy-tactics/mod-script-functions.1659774448.txt.gz · Last modified: 2022/08/06 08:27 by 65.108.103.101