PDA

View Full Version : Getting train waypoints?


salmo
10-08-2012, 05:51 AM
I'm trying to get a train's waypoints using GetWay without success. GetWay will return an array of waypoints for vehicles, but not for trains. Any ideas? Is GetWay broken for trains?


if (groundgroup.GroupType() == AiGroundGroupType.Train)
{
AiWayPoint[] way = groundgroup.GetWay();
}