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

[AI] [solved-ish] Object Data not Importing to GUI AI Editor

Status
Not open for further replies.
Level 21
Joined
Mar 16, 2008
Messages
979
Had a bizare and seemingly randomly occuring problem with a simple GUI generated AI script. The spell/object date for the heroes spells randomly would not compile via GUI, so the entire script would not run. I re-imported object data and same problem:
1673032080025.png

In the actual JASS code the spells were missing:
JASS:
            set skills3[ 1] = ''
            set skills3[ 2] = ''
            set skills3[ 3] = ''
            set skills3[ 4] = ''
            set skills3[ 5] = ''
            set skills3[ 6] = ''
            set skills3[ 7] = ''
            set skills3[ 8] = ''
            set skills3[ 9] = ''
            set skills3[10] = ''

So I manually input the object IDs for the heroes spells and the scripts work now.
JASS:
            set skills1[ 1] = 'AEbl'
            set skills1[ 2] = 'AEfk'
            set skills1[ 3] = 'AEsh'
            set skills1[ 4] = 'AEbl'
            set skills1[ 5] = 'AEfk'
            set skills1[ 6] = 'AEsv'
            set skills1[ 7] = 'AEsh'
            set skills1[ 8] = 'AEbl'
            set skills1[ 9] = 'AEfk'
            set skills1[10] = 'AEsh'
Not exactly sure why this occurred. I did find a work around but it is concerning there something going on in my map that I have absolutely no understanding of why it's happening.
 
Status
Not open for further replies.
Top