Hurricane control script not working.

SkelApe

Member
Elder
Joined
Nov 10, 2007
Messages
651
It appears to not work when i try to compile the hurricane control script. take a look at the error.
I have the constants.txt in with it, so that isnt the problem  :rolleyes

On a lighter note, my new map is nearly finished! It will include the new scripts i have wrote, aswell as a self-made AI script which will make it a big challenge.

PS: I cant submit the picture at the moment, the "upload" folder is apparently full.
 
C/P the text instead? :( (to the image hosting being full thing)
 
Code:
.\land3215/HurricaneControl.txt.\land3215/HurricaneControl.txt(1) : error near t
oken "6": Unable to define define "EPIC_OFFSETX_POS": game define already exists


.\land3215/HurricaneControl.txt(1) : error near token "6": Unable to create glob
al define "EPIC_OFFSETX_POS"
Compilation Failed: Script land3215/HurricaneControl.txt

.\land3215/Hurricane.txtCompilation Skipped: Script land3215/Hurricane.txt

C:\Program Files\Lionhead Studios\Black & White 2\Tools\Script Compiler>pause
Press any key to continue . . .[\code]
 
It must be a pretty big image. There was 114KB left in that folder. :p

Good thing you mentioned it. I've increased the size of that folder.
[br][br]Added: [time]1235338289[/time]I think on Line 1 "EPIC_OFFSETX_POS" is being defined. Comment that out and see if it will compile.

Basically, comment it out because it is being defined for a second time.
 
Ah that paritally solved it, i could go from there. I deleted the top line and then the same problem occurred for the next line down, and then the line down from that. I just deleted those two and it compiled; thanks kays!
 
I think I see the problem. If you also have the Volcano Epic script, they both use the variables.
 
Hey guys, sorry about the confusion in those scripts. The Volcano was the first epic I worked on so the variables defined in there are used by the other epics. Anyway Ive updated that thread to address this issue for future use.  :)
 
Oh and Dax as you mentioned you might want to take a look at the siren script. It didn't work properly on my new map and was implemented correctly as far as i know.
 
As far as I know, it shouldve worked. Theres not really much I can do to make it work because its all there and fine in other maps, just the only thing I can think of is where it was run or if it is being run in the main script at all.
 
Back
Top