Tecmeister -> LUA Error (1/1/2019 1:41:09 PM)
|
Help!! I've been working on fixing this error for a few months with no luck. I have a technical background but no programming experience. Lua looks like it can be simple, and built up to complex tasks, but I'm missing something and can't figure out what. This scenario is predicated on the US getting tired of China's actions in the South China Sea. The Navy is sent in along with ground based air assets, and after destroying everything that tries to stop them, invading and capturing Woody Island. Once the Amphib task group (I've removed all other assets on both side for simplicity) is stationed in the box south of Woody, (Ref Pts 2720-2723) undock the 4 LCAC's and move them into the tiny patrol area next to Woody, Ref Pts 2724-2727. The LCAC's need to be in the patrol area for 30 minutes to fire the Capture Woody script. All the info I've found for SetUnitSide seems right, but it's not, I always get an error "Lua script execution error: [string "Capture Woody"]:1: ')' expected near 'Island'". The attached save is after the Amphibs reach their patrol area, so all that's left to do is move the LCAC's. Can someone show me what I'm missing? I'd like to test and them upload the whole scenario for other players to try. Thanks, Tecmeister
|
|
|
|