Page 1 of 1

Munging errors

Posted: Thu Apr 13, 2006 10:18 am
by flippy11
when i add a new unit vehicle ect. in my lua i get this error
my munge logC:\BF2ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\GTB\GTBc_con.lua:96: `)' expected (to close `(' at line 94) near `"rep_fly_gunship_land"'

this is the part of the lua

ReadDataFile("dc:SIDE\\rep2.lvl",
"commando"
"rep_fly_gunship_land")

this makes my map crash.

RE: Munging errors

Posted: Thu Apr 13, 2006 10:47 am
by Teancum
you need to put a comma after "commando"

RE: Munging errors

Posted: Thu Apr 13, 2006 10:02 pm
by flippy11
that was the problem. my map loads now but i cant spawn. all the command posts are there and all the spawn paths are on the right layer but i cant select a cp to spawn at as the cis, rebels, imps or republic.

RE: Munging errors

Posted: Fri Apr 14, 2006 12:51 am
by [RDH]Zerted
Then you have another error in your lua.