Syntax error '{' expecting identifier

Syntax error '{' expecting identifier

christopher_morgan
Not applicable
21 Views
1 Reply
Message 1 of 2

Syntax error '{' expecting identifier

christopher_morgan
Not applicable

[ FlexSim HC 5.3.6 ]

Experiencing this as an error with the attached model. What would be the best way to handle this???

Flexscript ErrorMODEL:/Floor41>variables/objectrefline 1syntax error, unexpected '{', expecting identifier Could not finish parsing because of previous errors.

valetdepartmoderror.fsm

0 Likes
Accepted solutions (1)
22 Views
1 Reply
Reply (1)
Message 2 of 2

cliff_king
Not applicable
Accepted solution

Not sure how it happened, but your Floor41 object lost half the script on its objectref variable. This variable is not even used by the floor object, but because the script had a syntax error in it (because it was missing half its lines), you were getting the error message. You could have deleted and recreated that floor object, or do what I did in the attached model, open the model tree, find the objectref variable node for the Floor41 object and delete the straggling bit of code left in the node.15241-valetdepartmoderror.fsm

0 Likes