Page 1 of 1

Locating Captured Equipment

Posted: Wed Feb 15, 2012 10:37 am
by Captain_Orso
Hello modders, back again with another question.

Is there a way to script finding captured equipment anywhere on the map and it's model and current status (strength, cohesion, supply/ammo)?

As always, any assistance is greatly appreciated.

Posted: Thu Feb 16, 2012 2:25 pm
by Pocus
You can do a SelectSubUnits command on say CSA artilleries as the USA... Everything it gets should be by definition captured artillery.

Posted: Thu Feb 16, 2012 3:48 pm
by lodilefty
In-game you'll have to scan the Ledger Roster for the unit type [say, Artillery] and hope to recognize the name... :blink:

Posted: Thu Feb 16, 2012 8:52 pm
by Captain_Orso
Thanks you two :thumbsup: this aught to keep me busy for a while :blink: