• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Destructible in map script

Status
Not open for further replies.
Level 10
Joined
Mar 26, 2017
Messages
376
For preplaced units, the World Editor generates Create Unit or BlzCreateUnitWithSkin lines that are run at Map Init. The same goes for many other setting in the World Editor.

I don't see code in the map script for preplaced destructibles. Anyone knows where this information is stored?
 
Level 10
Joined
Mar 26, 2017
Messages
376
I was mostly curious.

I was looking a bit into loading parts of my map during a 'hero select' screen, so that initial load times are reduced. But it seems destructibles have a very short load time anyway, even if there are thousands.
 
Level 12
Joined
Jan 30, 2020
Messages
875
Only destructables that are excplictily used in a GUI trigger get into the output script. What do you want to achieve?

You could probably exploit what he just said to get them to be generated in the map script.
Then you'd have the choice :)
 
Status
Not open for further replies.
Top