Determine unit-exit of Labs

Determine unit-exit of Labs

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
allanmc
Posts: 13
Joined: 07 Sep 2009, 14:29

Determine unit-exit of Labs

Post by allanmc »

How is it possible to know from which side of a lab the produced units exit? This is relevant information when trying to construct a base without constructing buildings at locations which would block a lab.

It seems like this could previously be achived by accessing the YardMap of a the lab, but it seems like this has been removed from the AI interface.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Determine unit-exit of Labs

Post by hoijui »

besides those labs, like aibases, where this does not matter...
i would guess the best way to find out is to assume that they leave at the front (using facing). As i understand it, one can make a script for a lab to make units exit in an arbitrary way, so there is not really a save tway to know this for AIs, except the mod makers would define how units exit in an AI friendly way.
User avatar
Rafal99
Posts: 162
Joined: 14 Jan 2006, 04:09

Re: Determine unit-exit of Labs

Post by Rafal99 »

Is YardMap no longer accesible from AI interface? Why?
It was useful imho.
Post Reply

Return to “AI”