AddUnitClass(REP,"rep_hero_anakin", 1,1)
AddUnitClass(REP,"rep_hero_obiwan", 1,1)
AddUnitClass(CIS,"cis_hero_countdooku",1,1)
AddUnitClass(CIS,"cis_hero_grievous",1,1)
when i munge i get this -
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\BOC\BOCc_cmn.lua:68: `)' expected near `}'
ERROR[scriptmunge scripts\BOC\BOCc_cmn.lua]:Could not read input file.ERROR[scriptmunge scripts\BOC\BOCc_cmn.lua]:Could not read input file. [continuing]
2 Errors 0 Warnings
ERROR[levelpack mission\BOCc_Diet Dr. Pepper.req]:Expecting bracket, but none was found.
File : munged\pc\bocc_cmn.script.req(1)...
ucft <--
ERROR[levelpack mission\BOCc_Diet Dr. Pepper.req]:Expecting bracket, but none was found.
File : munged\pc\bocc_cmn.script.req(1)...
ucft <--
2 Errors 0 Warnings
then when i load the map none of the addunitclass troops are there, and yes i have added them to the ReadDataFile. can anyone decypher the errors or tell me how they got the addunitclass in space if they have managed it, thanks
