-
Notifications
You must be signed in to change notification settings - Fork 31
Regions
ChiefOfGxBxL edited this page May 3, 2017
·
5 revisions
Translator.Regions
var regionsTranslator = new Translator.Regions(regionData);
regionsTranslator.write([outDir]);
regionData: [<Region>]; // Array of regions
Where <Region>
is a region structure defined by:
{
id: <Int>,
name: <String>,
position: {
left: <Float>,
right: <Float>,
bottom: <Float>,
top: <Float>
},
weatherEffect: <String>, // optional (defaults to none) - weather effect id
ambientSound: <String>, // optional (defaults to none) - name of sound, defined in .w3s
color: [<Int>, <Int>, <Int>] // red, green, blue of region used by editor
}
Made with ❤️ for ⚔️ WarCraft III
Need help: Check the Wiki
Found bug: Create an issue