Author Topic: I need some help  (Read 2152 times)

0 Members and 1 Guest are viewing this topic.

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
http://fsscp.pastebin.com/d4c0bc965

Why the heck does this not work? qp is a debug function which outputs text. The first one doesn't run, but the second one does (so my screen fills up with the text "**** YOU LUA!")

Assistance would be appreciated.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
How about using mn.Ships[ i ].Name as indexer instead of mn.Ships[ i ] into the metadata array?
« Last Edit: May 14, 2009, 12:48:08 pm by Wanderer »
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Could work. You got some unclosed italics there, btw.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
fixored..
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Ok, I've commited the changes to the RTS Mod SVN. To reiterate, anyone can test, but if you **** up your system somehow, I'm not to blame.

Now back to the problem of the thing slowing down when I select multiple things...

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
nice error message :D
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Edit: clearing post here since it's almost identical to this other one
« Last Edit: May 15, 2009, 12:39:46 pm by Aardwolf »