For some reason I get the following error when trying to compile. This happens without any changes done because I would rather test to see if this will compile before spending time changing values. I have some editing experience, but not extremely knowledgeable about this issue.
C:\UT2004\DruidsRPG163\Classes\DruidEnhancedArtifactMonsterSummon.uc(19) : Error
, Bad or missing expression after '<'
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)
The first part of the code in that uc file is as follows:
Code:
class DruidEnhancedArtifactMonsterSummon extends ArtifactMonsterSummon;
var() Sound BrokenSound;
static function bool ArtifactIsAllowed(GameInfo Game)
{
if(string(Game.class) == "FHI.FHI")
return false;
return true;
}
state Activated
{
function BeginState()
{
local int x, chosen, sizeOfChosen;
sizeOfChosen = -1;
// line 19 is below me
for (x = 0; x < RPGMut.MonsterList.length; x++)
{
if
(
(
Instigator.Controller.Adrenaline >= RPGMut.MonsterList[x].default.ScoringValue * 10
) ||
(
Instigator.Controller.Adrenaline >= 100 &&
RPGMut.MonsterList[x].default.ScoringValue * 10 >= 100
Thank you everyone! Nonya-Biz, I don't know how that value got placed all over that uc file, but I removed them all and it compiled just fine. Thanks!!