I am writing a build order tester that does not use supply, but an animated timeline. One problem remain that I can't seem to fix. I need the starting time of a trained unit and the completion time of that unit.
Using these trigger events:
TriggerAddEventUnitTrainProgress(Recorder_tStartTraining, null, c_unitProgressStageStart);
TriggerAddEventUnitTrainProgress(Recorder_tCompleteTraining, null, c_unitProgressStageComplete);
The problem: How do I retrieve the start time of a unit when I get its completion time?
- "EventUnitProgressUnit()" does not seem to work that well. Storing the units start time by identifying it with the unit tag does not work.
Also you can not use the units custom values.
- You can not just save it using the production building, since some can build 2 units at the same time...
I hope someone find an answer, this is an advanced problem (to be shure).
Thanks in advance,