Scripts / help with ai script

Author
Message
Tomik18
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 14th Oct 2018 07:37 Edited at: 14th Oct 2018 07:39
hello, i follow Lee video https://www.youtube.com/watch?v=Bm-V7h1mQQc&t=46s but if i start test game i got this error. screenshot attached with error.

This is my ai_calm script
My PC specs: AMD FX 4300 3,80 Ghz
R9 280 3GB
8 GB RAM

Attachments

Login to view attachments
Tomik18
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 14th Oct 2018 22:49
Pls help
My PC specs: AMD FX 4300 3,80 Ghz
R9 280 3GB
8 GB RAM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 15th Oct 2018 06:16
Please give people time to help. Your pists were written on a sunday, not many people post on sundays here.

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
Tomik18
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 15th Oct 2018 16:00
Yes
My PC specs: AMD FX 4300 3,80 Ghz
R9 280 3GB
8 GB RAM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 15th Oct 2018 16:08
it's telling you you need to make the functions an array
i.e.
local module_combatcore = {}
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Tomik18
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 15th Oct 2018 18:04
where i need the functions ?

This is module_combatshoot_new script

My PC specs: AMD FX 4300 3,80 Ghz
R9 280 3GB
8 GB RAM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Oct 2018 19:21
The last line should be probably be 'return module_combatshoot_new'
Been there, done that, got all the T-Shirts!
PM
Tomik18
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 16th Oct 2018 23:03
Where i must add this line ?
My PC specs: AMD FX 4300 3,80 Ghz
R9 280 3GB
8 GB RAM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 17th Oct 2018 22:30
Just replace the last line.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-04-18 13:31:30
Your offset time is: 2024-04-18 13:31:30