Jump to content

Help with Script Compilation


Recommended Posts

Hello everyone, can somebody help me fix my script compilation error please? I am not very good at fixing this. It has only one line of error but I don't know how to fix it. Please help me. Thanks.

Mods Merged(in actor.ws) :
Error [mod0000_mergedfiles]game\actor.ws(7091): Found unexpected '}'
Pasetebin:
Edited by cataleeeccctic
Link to comment
Share on other sites

Since line 7091 has the terminating brace for the CActor class, it's a mismatched terminating brace somewhere in that class. Mismatched merges are common, especially with more complicated mods. The best way is to start from the top or bottom and read through it to find where that happened, or do that every time you diff so it's not so hard to find. Start by searching for comments ('//' or '/*') and that will show you where most mods begin and end.

 

You have an extra } on line 1280 before the return statement for CalculateFinalAnimationSpeedMultiplier() . Delete that and it should work.

Edited by sc0urge
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...