Scripting gate animation trouble [Solved]
Posted: Thu Dec 28, 2006 6:14 pm
So I am trying to set up a gate like in Kashyyyk, that raises and closes depending on if the gate panel is still operational. Then I'm trying to set AI goals to defend/destroy the gate panel. So I looked in the KAS world script and copied over the needed parts and adjusted the names of objects and barriers to fit my map. So I munge and get these errors:
Could anyone help a noob figure out how to fix it so my gate and objectives work? Oh and also I was wondering what would I add to disable a death region when a certain object is destroyed?
Thanks in advance.
I know the last two errors just need a bracket somewhere but I don't know where to place them. I don't know how to fix the first two errors. My map works fine in game but the gate won't lift when you destroy the gatepanel and the AI don't try to destroy it. Here's my lua:C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\KAE\KAEc_con.lua:66: <eof> expected near `end'
ERROR[scriptmunge scripts\KAE\KAEc_con.lua]:Could not read input file.ERROR[scriptmunge scripts\KAE\KAEc_con.lua]:Could not read input file. [continuing]
2 Errors 0 Warnings
ERROR[levelpack mission\KAEc_con.req]:Expecting bracket, but none was found.
File : munged\pc\kaec_con.script.req(1)...
ucft <--
ERROR[levelpack mission\KAEc_con.req]:Expecting bracket, but none was found.
File : munged\pc\kaec_con.script.req(1)...
ucft <--
2 Errors 0 Warnings
Hidden/Spoiler:
Thanks in advance.