Page 1 of 1

Assigning rudimentary AI to units ingame

Posted: 12 Jan 2013, 00:57
by Arcenciel
Hello everyone, before I set out on learning LUA, etc, I just want to know if what I plan to do is possible.

Let's say you have three construction kbots. I want to make a widget where you assign those kbots to a specific group (let's say group 1). Any builders in this group will now manage your base (building eco, assisting factories, etc) based on your metal/energy storage/income...I guess what I'm asking is if LUA has the power to read variables like metal and energy, and then assign commands to builders without consulting the actual user...

Thanks!

Re: Assigning rudimentary AI to units ingame

Posted: 12 Jan 2013, 01:02
by FLOZi
Yep.

Re: Assigning rudimentary AI to units ingame

Posted: 12 Jan 2013, 02:16
by knorke
I just want to know if what I plan to do is possible.
yipyipyipyip
Image

start here
http://springrts.com/wiki/Lua_Scripting
(GameState and Client)