Compilation Error

About Monkey 2 Forums Monkey 2 Programming Help Compilation Error

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Mark Sibly 2 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4102

    APC
    Participant

    Hello Mark, I just installed the Monkey2 x1.0.5 MacOS Package x 1 on my Mac, I am running MacOS Sierra 10.12.
    I tried to compile your Stargate project and I got the following error:
    mx2cc version 1.0.5

    ***** Building app ‘/Users/aroldocarvalho/Downloads/monkey2/bananas/stargate/src/lazer.monkey2’ *****

    Parsing…
    /Users/aroldocarvalho/Downloads/monkey2/bananas/stargate/src/lazer.monkey2 [67] : Error : Expecting expression but encountered ‘[‘

     

    It is referring to this Function below. I am missing a module?

    Function InitLazer()

    Collisions[ACTOR_LAZER]=[ACTOR_HUMANOID,ACTOR_LANDER,ACTOR_MUTANT,ACTOR_BOMBER,ACTOR_POD,ACTOR_SWARMER,ACTOR_BAITER]

    End

    #4105

    Mark Sibly
    Keymaster

    The Stargate source is old and hasn’t been upgraded to the latest mx2 yet – I have a version here that’s ‘almost’ done but I never quite get around to finishing it!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.