Here's one that mabey some can provide an explanation for..
I was helping a friend script an object that used the owners name in a llSay. At the top of the script I added the following:
string owner_name = llKey2Name(llGetOwner());
It gives me the all so helpful and vauge syntax error.
However, if I simply declare the variable at the top of the script, then within state entry fill the variable with a 'owner_name = llKey2Name(llGetOwner()); it works fine.
It took me about a half hour to figure out how to make it work after all the really helpful 'Syntax Error's.
Any ideas why I can't fill the variable at the top? Is something not initialized properly in the script until it gets to the first state?
Thankies for any insight.