Jump to content

Recommended Posts

Posted

Hello, could someone check this script for me pls, it's not working.

 

Function should be:

If the "wooden Horn" is in players inventory, remove only this. If player doesn't have the wooden one, then the "golden Horn" should be removed.

If player misses both horns, just the debug message.

 

 

  Reveal hidden contents

 

 

Compile error in editor:

LineX1, Col47: required (...)+ loop did not match anything at input ')'

LineX2, Col51: required (...)+ loop did not match anything at input ')'

Posted

You have an ')' at the end of each of those lines without a matching '(' at an earlier point. Base on what you have currently, either remove the ')' at the end or add a '(' at the beginning just after the 'if' and 'elseif'.

Posted

Oh how embarrassing. That happens if you don't know what you do, and all your scripting skills are based on copying from one script to another....

Thanks Ishara!!

  • Recently Browsing   0 members

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