-
Notifications
You must be signed in to change notification settings - Fork 31
Doodads
ChiefOfGxBxL edited this page May 26, 2018
·
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>,
variation: <Int = 0>,
position: [<Float>, <Float>, <Float>],
angle: <Float = 0>, // in radians
scale: [<Float = 1>, <Float = 1>, <Float = 1>],
life: <Int = 100> // % health (0-100),
flags: { <Object = { visible: true, solid: true }>
visible: true,
solid: true
}
}
Made with ❤️ for ⚔️ WarCraft III
Need help: Check the Wiki
Found bug: Create an issue