Home
Outpost 1
Outpost 2
Chat
Forum
Wiki
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Outpost Universe Forums
»
Projects & Development
»
Outpost 2 Programming & Development
»
Ai Questions
Print
Pages: [
1
]
Go Down
Author
Topic: Ai Questions (Read 1887 times)
Sirbomber
Hero Member
Posts: 3238
Ai Questions
«
on:
September 16, 2009, 10:50:44 PM »
Sorry, don't have time to use the search button.
Is there a way to tell what vehicle a VF is producing and then, after it's been produced, grab it and tell it to do something
without
using a bunch of locations and unit enumerators?
Logged
"As usual, colonist opinion is split between those who think the plague is a good idea, and those who are dying from it." - Outpost Evening Star
Outpost 2 Coding 101 Tutorials
Hooman
Administrator
Hero Member
Posts: 4955
Ai Questions
«
Reply #1 on:
September 16, 2009, 11:42:00 PM »
You could potentially use groups. Have the factory produce a unit for a group (or have the group demand the factory build it something), and then check the group for new units.
You can probably use a mem hack to find out if/what a factory is producing.
Logged
Sirbomber
Hero Member
Posts: 3238
Ai Questions
«
Reply #2 on:
September 17, 2009, 07:51:43 AM »
So what you're getting at is "yes, but it would actually be harder to do it that way." Am I right?
Logged
"As usual, colonist opinion is split between those who think the plague is a good idea, and those who are dying from it." - Outpost Evening Star
Outpost 2 Coding 101 Tutorials
Print
Pages: [
1
]
Go Up
Outpost Universe Forums
»
Projects & Development
»
Outpost 2 Programming & Development
»
Ai Questions