Im having a strange problem trying to compile my mod with UCC...
the file in question 'SH_AScouts.uc' has many calls to the function
This is the error in the UCC log:
The only thing I can think of ( and I'm really guessing here ) is that the name of the .uc files maybe determines the order in which they are compiled and that 'SH_AScouts.uc' is being compiled before 'SH_Ships.uc'. But that dosen't seem to make any sense to me...
does anyone have any clue as to what is wrong? If you need any more info post what you need and Ill post it up...
the file in question 'SH_AScouts.uc' has many calls to the function
'SH_AScouts.uc' is a subclass of 'SH_ARaceShips.uc' which in turn is a subclass of 'SH_Ships.uc', which clearly contains the called function.simulated function SetSystemsPwrDrain()
This is the error in the UCC log:
Error: C:\Program Files\UT2004\Ships\Classes\SH_AScouts.uc(589) : Error, 'SetSystemsPwrDrain': Bad command or expression
The only thing I can think of ( and I'm really guessing here ) is that the name of the .uc files maybe determines the order in which they are compiled and that 'SH_AScouts.uc' is being compiled before 'SH_Ships.uc'. But that dosen't seem to make any sense to me...
does anyone have any clue as to what is wrong? If you need any more info post what you need and Ill post it up...