• 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.

[LUA] Writing garbage??

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,338
Hi,

So I just happened to take a gander at some of my doodads/destructables, and it appears somehow my object generation scripts had a terrible side effect: while creating the correct abilities, they also created some weird doodads with their names! This is perplexing, because in all the other times I've run the same exact scripts, this has never happened.

Furthermore, I never used any rawcodes that come close to these doodads/destructables.

Has this happened to anyone? Why would Lua create these?

2me5svo.png
 
Level 15
Joined
Aug 7, 2013
Messages
1,338
No, you don't say ???

Of course those are rawcodes. I am showing them because these rawcodes are nothing close to the rawcodes for the abilities/units where these strings belong.

I want to know why Lua created these objects. My scripts only create abilities and units, not doodads.

What's happening is that for some of the abilities/units, Lua is taking their strings and values and somehow writing down custom doodad objects use those strings/values.

Again, I want to know why it is behaving this way.
 
Status
Not open for further replies.
Top