Assigning rudimentary AI to units ingame
Posted: 12 Jan 2013, 00:57
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!
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!