Search Unity

Having problems with Javascript again(semicolons)

Discussion in 'Scripting' started by Richard1234, Feb 28, 2015.

  1. Richard1234

    Richard1234

    Joined:
    Feb 17, 2015
    Posts:
    8
    I applyed a script on a cube to make it go foward and up immensely,like a helicopter,and other in a sphere that was positioned over the cube and modified to look like a proppeler to rotate all time. But when I start the game,it acuses that one of the scripts are needing a semicolon on the end of a line,but I can't find it! Here are screenshots of the cube script(corpo) and the proppeler script(hélice) and the screen when I try to start the engine;


     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    As discussed in your other topic, please post code as code, not as a screenshot. Use code tags for the formatting. Copy and paste error messages as text, and clearly point out which line of code they refer to.

    --Eric
     
  3. Richard1234

    Richard1234

    Joined:
    Feb 17, 2015
    Posts:
    8
    --Eric[/QUOTE]
    I
    I'm sorry Eric,I won't post screenshots of script again.I'm gonna post the scripts of this topic as codes,don't worry