View topic - Assigning rudimentary AI to units ingame



All times are UTC + 1 hour


Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 12 Jan 2013, 00:57 

Joined: 12 Jan 2013, 00:52
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!


Top
 Offline Profile  
 
PostPosted: 12 Jan 2013, 01:02 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Yep.


Top
 Offline Profile  
 
PostPosted: 12 Jan 2013, 02:16 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
Quote:
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)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Floris and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.