• 0
Mocha

Need help finding what's wrong with my code

Question

Posted (edited)

I've been at this for over a week now. BaroN helped me with my previous problem however now I'm getting a new error code. ( File mpmissions\_cur_mp.Altis\mission.sqm, line 2096: '/Mission/Groups/Item0.Class': 'I' encountered instead of '='

Line 2096 is located just below class item 79 and has been underlined. 

I have no clue what I've done wrong so here is the code.

http://pastebin.com/WG3L2kAr
    

Edited by Mocha

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

class Item79
    {
        dataType = "Marker";
        position[] = {21695.7, 0, 7576.74};
        name = "ExileMarker79";
        text = "";
        markerType = "ELLIPSE";
        type = "ExileContaminatedZone";
        colorName = "ColorBlack";
        fillName = "Border";
        a = 275;
        b = 275;
        drawBorder = 1;
        id = 179;
        atlOffset = 0;
    };
    items = 79;             <---   maybe this is to much? O.o

Share this post


Link to post
Share on other sites
  • 0

Your item 1 should be 0.. it starts at 0, 1, 2, 3 so forth. That at Items = ??; it will be the last number +1

 

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement
  • 0
16 hours ago, Metalman10 said:

Your item 1 should be 0.. it starts at 0, 1, 2, 3 so forth. That at Items = ??; it will be the last number +1

 

I think I remember trying this... It was one of my several failed attempts to try and get this working. I copied and pasted everything from the 3den plugin so it should be correct. If anyone has any further input I would appreciate it beyond belief. 

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Mocha said:

I think I remember trying this... It was one of my several failed attempts to try and get this working. I copied and pasted everything from the 3den plugin so it should be correct. If anyone has any further input I would appreciate it beyond belief. 

please edit your original post, and pastebin the entire mission.sqm.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

47 minutes ago, StokesMagee said:

please edit your original post, and pastebin the entire mission.sqm.

Just updated with pastebin link. 

Edited by Mocha

Share this post


Link to post
Share on other sites
  • 0
29 minutes ago, StokesMagee said:

That's the entire thing right?

//edit

try this: http://pastebin.com/Q1Yjibxi

 

Indeed that was the entire mission.sqm. 

However, I received the same error code once again. 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.