In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.
Moderator: Moderators
xwingguy
Post
by xwingguy » Mon Jul 31, 2006 6:07 pm
I don't have a clue what <eof> means...hopefully someone else does
Code: Select all
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\TST\TSTg_Diet Dr. Pepper.lua:126: <eof> expected near `end'
Hebes24
Sith Master
Posts: 2594 Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:
Post
by Hebes24 » Mon Jul 31, 2006 6:17 pm
I have no idea what that is either.
Hey! my map is TST as well...Uh-oh
!! that might be bad!!!
[RDH]Zerted
Gametoast Staff
Posts: 2982 Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:
Post
by [RDH]Zerted » Mon Jul 31, 2006 6:28 pm
eof = end of function or end of file
In this case, I'm guessing its: end of function
xwingguy
Post
by xwingguy » Mon Jul 31, 2006 6:57 pm
I've lowered the problem down to these 2 functions:
Code: Select all
function BRAnim()
branimtimer = CreateTimer("branimtimer")
SetTimerValue(branimtimer, 178.0)
StartTimer(branimtimer)
OnTimerElapse(RestartBRAni, branimtimer)
end
RestartBRAni()
PauseAnimation("boc1anim")
SetAnimationStartPoint("boc1anim")
PlayAnimation("boc1anim")
SetTimerValue(branimtimer, 178.0)
StartTimer(branimtimer)
end
Is the munger trying to tell me that I've put myself in an infinite loop? I don't believe that the debugger can tell that though...
Astute
Rebel Colonel
Posts: 566 Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Post
by Astute » Tue Aug 01, 2006 10:46 am
Well, the error is reading that either your missing and end, you've placed your function in the wrong place, or your missing something else here. Try putting semicolons after each of your functions. Just something to try.
EOF = end of function?
[RDH]Zerted
Gametoast Staff
Posts: 2982 Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:
Post
by [RDH]Zerted » Tue Aug 01, 2006 2:23 pm
What is RestartBRAni() ? As its written, its a call to some fuction you have coded somewhere else. The last end doesn't end anything. Or did you mean to put function RestartBRAni() ?
xwingguy
Post
by xwingguy » Tue Aug 01, 2006 5:30 pm
whoops......(slaps himself)