[SOLVED] Is there a character limit for mission LUA script names?

Started by Phobos, December 20, 2012, 12:19:45 AM

Previous topic - Next topic
I have followed the correct procedures for adding custom LUAs to the mission reqs.

When I munge tat2z.lua it works exactly as it should. When I munge tat2_z01.lua into the mission, it crashes when I launch that mission in game. Is there a limit for the character length in the LUA name? I'm going to try reducing it one character at a time until it stops crashing.

And SPtest says nothing about the scripts either.

Update:
SleepKiller has informed me that the limit for AddOn mission LUA is 12 characters.

For campaigns I do not know yet. Stock campaign such as tat2i_h uses 7 characters, and my game crashes on 8, but it could also have something to do with using multiple numbers. I'm not sure yet.

It also may not expect a number at the end of the name.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Ok I have confirmed the limit is 7 characters and multiple numbers are in fact allowed.