-
Notifications
You must be signed in to change notification settings - Fork 31
Regions
ChiefOfGxBxL edited this page Apr 28, 2018
·
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 = 'none'>, // weather effect id
ambientSound: <String = 'none'>, // name of sound, defined in .w3s
color: [<Int = 0>, <Int = 0>, <Int = 255>] // red, green, blue of region used by editor
}
Made with ❤️ for ⚔️ WarCraft III
Need help: Check the Wiki
Found bug: Create an issue