Ahh! It keeps saying ERROR*** .LUAC RETURNED! and I fixed it the first time when it was missing ) at the end af a side. But now it says it still and I looked through it and saw nothing.
ReadDataFile("dc:SIDE\\vehicles.lvl",
"rep_fly_v19_sc")
)
end
myTeamConfig = {
rep = {
team = REP,
units = 32,
reinforcements = -1,
pilot = { "rep_inf_ep2_pilot",26},
marine = { "rep_inf_fil",1},
},
cis = {
team = CIS,
units = 32,
reinforcements = -1,
pilot = { "cis_inf_pilot",26},
marine = { "cis_inf_marine",6},
}
}
Re: What's wrong with this lua?
Posted: Tue Dec 22, 2009 4:26 pm
by AQT
Based on what you have there:
1. You don't need the function SetupUnits() line.
2. You have a random ) and end after "rep_fly_v19_sc").
3. myTeamConfig = { was made up. Have a look at a stock script to see how it's really set up.
4. You are missing a , after the second to last bracket.
Re: What's wrong with this lua?
Posted: Tue Dec 22, 2009 4:29 pm
by genaral_mitch
This a space lua.
Re: What's wrong with this lua?
Posted: Tue Dec 22, 2009 4:33 pm
by AQT
You have a random ) after "rep_fly_v19_sc").
Re: What's wrong with this lua?
Posted: Tue Dec 22, 2009 4:34 pm
by Darth_Spiderpig
genaral_mitch wrote:This a space lua.
Then you only have a ) too much after the torrent fighter part.
EDIT: Grmpf, again too slow.
Re: What's wrong with this lua?
Posted: Tue Dec 22, 2009 4:37 pm
by genaral_mitch
AQT, you're my hero! It works!
Re: What's wrong with this lua?
Posted: Tue Dec 22, 2009 4:39 pm
by Darth_Spiderpig
genaral_mitch wrote:AQT, you're my hero!
And me?
Lol, I know, I have to get faster.
But I am glad it works again.