| 12-21-2003, 04:05 AM | #1 |
I keep getting the same errors every time I try to save my map. I know what lines they are on, but I don't know what the error means and therefore cannot fix it. "Expected Name" "Expected Code Statement" "Need return Value in function" If you need clarification on what I am doing that is causing these triggers: if ( not ( GetUnitTypeId(GetSpellAbilityUnit()) == udg_Tree_God_AllUnitTypes[TwoDArray(TempPNum, 1, 3)] ) ) then I get the first 2 errors when I have the line written like this, but when I replace the twoDArray function with a 1, I don't get those 2 any more. The third error, I have no idea why I am getting (I checked the function that it is referring to and saw absolutly nothing wrong with it) |
