![]() |
|
|
Thread Tools | Display Modes |
#8
|
|||
|
|||
![]()
Groundactors seems are only counted if reached endpoint.
Ok seems to work, but not for trailers. :\ Code:
public override void OnActorTaskCompleted(int missionNumber, string shortName, AiActor actor) { base.OnActorTaskCompleted(missionNumber, shortName, actor); if (actor is AiGroundGroup) { foreach (AiActor ac in (actor as AiGroundGroup).GetItems()) { (ac as AiCart).Destroy(); } } } Last edited by FG28_Kodiak; 05-08-2012 at 10:56 AM. |
Thread Tools | |
Display Modes | |
|
|