Hard Light Productions Forums

Modding, Mission Design, and Coding => The Scripting Workshop => Topic started by: Aardwolf on May 13, 2009, 11:52:56 pm

Title: I need some help
Post by: Aardwolf on May 13, 2009, 11:52:56 pm
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.
Title: Re: I need some help
Post by: Wanderer on May 14, 2009, 02:13:14 am
How about using mn.Ships[ i ].Name as indexer instead of mn.Ships[ i ] into the metadata array?
Title: Re: I need some help
Post by: Aardwolf on May 14, 2009, 12:42:29 pm
Could work. You got some unclosed italics there, btw.
Title: Re: I need some help
Post by: Wanderer on May 14, 2009, 12:48:23 pm
fixored..
Title: Re: I need some help
Post by: Aardwolf on May 14, 2009, 01:05:42 pm
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...
Title: Re: I need some help
Post by: Nuke on May 15, 2009, 05:25:17 am
nice error message :D
Title: Re: I need some help
Post by: Aardwolf on May 15, 2009, 11:13:46 am
Edit: clearing post here since it's almost identical to this other one (http://www.hard-light.net/forums/index.php/topic,60213.msg1245345.html#msg1245345)