- Joined
- Feb 2, 2006
- Messages
- 1,629
I have created custom AI scripts for my map: tdauth/wowtsr
At the part:
It gets stuck at the line with the UNDEAD_MINE.
And if the mines are build they aren't really used. How can I achieve that it doesn't get stuck, how can I achieve that custom mines are used by more workers and how can I really debug an AI to get some errors/know why it got stuck?
Do the custom mines have something to do with an exe option that the player uses more than one goldmine?
At the part:
Code:
// **********************************
// * Building Strategy *
// **********************************
// Tier 1 Buildings
call SetReplacements( 1, 2, 3 )
call SetBuildUnit( 1, NECROPOLIS_1 )
call SetBuildUnit( 1, UNDEAD_MINE )
call SetBuildUnit( 6, ACOLYTE )
call SetBuildUnit( 2, CRYPT )
call SetBuildUnit( 5, GHOUL )
call SetBuildUnit( 2, UNDEAD_CITIZEN_MALE )
call SetBuildUnit( 3, ZIGGURAT_1 )
call SetBuildUnit( 3, UNDEAD_HOUSING )
call SetBuildUnit( 3, UNDEAD_MINE )
...
It gets stuck at the line with the UNDEAD_MINE.
And if the mines are build they aren't really used. How can I achieve that it doesn't get stuck, how can I achieve that custom mines are used by more workers and how can I really debug an AI to get some errors/know why it got stuck?
Do the custom mines have something to do with an exe option that the player uses more than one goldmine?