- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
Doodads
        ChiefOfGxBxL edited this page Dec 22, 2019 
        ·
        7 revisions
      
    Translator.Doodads
var result = new Translator.Doodads.jsonToWar(doodadData);
// Now you can write result.buffer to a war3map.doo filedoodadData: [<Doodad>]; // Array of doodadsWhere <Doodad> is a doodad structure defined by:
{
  id: <Int>,
  type: <String>,
  variation: <Int = 0>,
  position: [<Float>, <Float>, <Float>],
  angle: <Float = 0>, // in degrees
  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