News:

We've upgraded the forum software.
You may need to log in again or reset your password!

Main Menu

Ai Questions

Started by Sirbomber, September 16, 2009, 10:50:44 PM

Sirbomber

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?
"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

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.

Sirbomber

So what you're getting at is "yes, but it would actually be harder to do it that way."  Am I right?
"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