- Joined
- Mar 16, 2008
- Messages
- 955
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:
In the actual JASS code the spells were missing:
So I manually input the object IDs for the heroes spells and the scripts work now.
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.
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'