-
Notifications
You must be signed in to change notification settings - Fork 31
Doodads
ChiefOfGxBxL edited this page May 3, 2017
·
7 revisions
Translator.Doodads
var doodadsTranslator = new Translator.Doodads(doodadData);
doodadsTranslator.write([outDir]);
doodadData: [<Doodad>]; // Array of doodads
Where <Doodad>
is a doodad structure defined by:
{
id: <Int>,
type: <String>, // type of tree - see lookup
variation: <Int = 0>, // (optional) variation number
position: [<Float>, <Float>, <Float>], // x,y,z coords
angle: <Float = 0>, // (optional) in radians
scale: [<Float>, <Float>, <Float>], // x,y,z scaling factor - 1 is normal size
life: <Int> // % health
}
Made with ❤️ for ⚔️ WarCraft III
Need help: Check the Wiki
Found bug: Create an issue