Scripts / LUA errors

Author
Message
DamoocoolaHD
9
Years of Service
User Offline
Joined: 3rd Jun 2014
Location:
Posted: 3rd Jun 2014 01:44
Can someone please help me? I'm getting LUA errors when I start my standalone game but then I just press space and it loads. But then when I shoot someone it gives me an error that says, "Error: No function called ai_soldier_main" or at least I think that is what it says then I have to force quit the game. Can someone please help me?

Damoocoola
PM
Dralel
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 3rd Jun 2014 10:40
Rename the part after function in the script to the name of the file itself.

GPU: GTX 660, CPU: i7 3770 Intel 3.40ghz x4, PSU: 650 Watt, RAM: 8GB DDR3, OS: Win7 Ultimate 64-bit
PM
DamoocoolaHD
9
Years of Service
User Offline
Joined: 3rd Jun 2014
Location:
Posted: 5th Jun 2014 02:12
Ok, I figured out what the beginning says. It says "Cannot find ai_soldier.lua in the file directory" or something like that. When I go into the scriptbank, there is no ai_solder.lua. Can anyone help me with that? Am I doing something wrong?

Damoocoola
PM
tomjscott
User Banned
Posted: 7th Jun 2014 01:27
Looks like the file didn't get copied into your stand-alone version. Just go to your original engine scriptbank folder and copy the file over to your stand-alone.

System Specs: OS - Windows 7 Home Premium 64-bit SP1, CPU - AMD Phenom II X4 945, 3.0Ghz, RAM - 8Gb DDR3, GFX Card - 2048MB NVIDIA GeForce GT 640, FPSC-R Version - Beta 1.007
DamoocoolaHD
9
Years of Service
User Offline
Joined: 3rd Jun 2014
Location:
Posted: 7th Jun 2014 03:19
Thanks, it works!

Damoocoola
PM

Login to post a reply

Server time is: 2024-03-28 19:33:21
Your offset time is: 2024-03-28 19:33:21