Page 1 of 1

Factories: Getting build percent and or unitID of unit?

Posted: 04 Nov 2012, 14:48
by Erik
*of the unit currently being built that is.
Possible already?
If not i'd like the unitID sent to StartBuilding() as an argument.

Re: Factories: Getting build percent and or unitID of unit?

Posted: 04 Nov 2012, 15:34
by FLOZi

Code: Select all

Spring.GetUnitIsBuilding 
 ( number unitID ) -> nil | number unitID
returns what unit a constructor/factory is currently building

Re: Factories: Getting build percent and or unitID of unit?

Posted: 04 Nov 2012, 15:40
by Erik
thx