-
Notifications
You must be signed in to change notification settings - Fork 41
Strings
ChiefOfGxBxL edited this page Dec 2, 2025
·
4 revisions
import { StringsTranslator } from 'wc3maptranslator';
var result = StringsTranslator.jsonToWar(stringData);
// Now you can write result.buffer to a war3map.wts filestringData: {
// Associates a key (id #), with a string value
"1": "Player 0",
"2": "Player 1",
"3": "Player 2",
"4": "Player 3",
"5": "Player 4",
"6": "Player 5",
...
}Made with ❤️ for ⚔️ WarCraft III
Need help: Check the Wiki
Found bug: Create an issue