why doesn't this code work?

  • PizzaPlatypus
    21st Jan 2011 Member 0 Permalink
    the above with this piece of code:
    http://pastebin.com/EMuNQqZx
    it is in the right place, as most of it works just not the bit about ANTB not being turned to INFT.
  • Ace
    21st Jan 2011 Member 0 Permalink
    remove this from line 16: parts[i].type=
  • PizzaPlatypus
    21st Jan 2011 Member 0 Permalink
    I'll try when I get home, thanks.
  • PizzaPlatypus
    21st Jan 2011 Member 0 Permalink
    It doesn't work ANTB is still turned to INFT
  • Finalflash50
    21st Jan 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • Pilihp64
    21st Jan 2011 Developer 0 Permalink
    how about upload your entire source somewhere, it could be many things, and i can't tell from the one part there.
  • PizzaPlatypus
    21st Jan 2011 Member 0 Permalink
    ok here it is: [removed]
  • Pilihp64
    21st Jan 2011 Developer 0 Permalink
    lol, 14MB, you don't need to upload the release and debug folders, or that ipch folder, but anyway, i will check it now.

    i removed the link because you left your powder.def in there, be more careful in what you upload


    EDIT: found the problem, you are missing a line in ptypes for PT_SLFR, which is throwing the numberings off, so when you think you are spawning PT_ANTB, it is actually PT_POSN
  • PizzaPlatypus
    21st Jan 2011 Member 0 Permalink
    Thanks, It works!