- Messages
- 49
- Country

Below is a sample from the .xml mission file for Carrier Tutorial. I have a question about what a couple of the lines mean. The below is the aircraft carrier instance. One line says <CurrentWaypoint>0</CurrentWaypoint>. Further down in the waypoint data I see <Descr>Waypoint 1</Descr> and <WaypointID>0</WaypointID>.
What is the difference between a waypoint description and a waypoint ID? Why couldn't the CurrentWaypoint line use waypoint 1 instead of the ID of 0?
Thanks
<SimContain.Container InstanceId="{627DA436-1D97-4797-8427-CC7A306AA8BA}">
<Descr>Carrier</Descr>
<WorldPosition>N40° 7' 50.30",W67° 27' 33.18",+000000.00</WorldPosition>
<Orientation>0.000,0.000,9.000</Orientation>
<ContainerTitle>veh_carrier01_high_detail_sm</ContainerTitle>
<ContainerID>0</ContainerID>
<IsOnGround>True</IsOnGround>
<AIType>GroundVehicle</AIType>
<GroundVehicleAI>
<GroundCruiseSpeed>35.000</GroundCruiseSpeed>
<GroundTurnSpeed>35.000</GroundTurnSpeed>
<GroundTurnTime>9.000</GroundTurnTime>
<YieldToUser>False</YieldToUser>
<WaypointList>
<WrapWaypoints>False</WrapWaypoints>
<CurrentWaypoint>0</CurrentWaypoint>
<BackupToFirst>False</BackupToFirst>
<Waypoint InstanceId="{904FD326-D807-44FC-BB22-2588A6CC3CAB}">
<AltitudeIsAGL>True</AltitudeIsAGL>
<WorldPosition>N40° 7' 50.46",W67° 27' 33.15",+000000.00</WorldPosition>
<Descr>Waypoint 1</Descr>
<SpeedKnots>1.000</SpeedKnots>
<WaypointID>0</WaypointID>
</Waypoint>
</WaypointList>
</GroundVehicleAI>
What is the difference between a waypoint description and a waypoint ID? Why couldn't the CurrentWaypoint line use waypoint 1 instead of the ID of 0?
Thanks
<SimContain.Container InstanceId="{627DA436-1D97-4797-8427-CC7A306AA8BA}">
<Descr>Carrier</Descr>
<WorldPosition>N40° 7' 50.30",W67° 27' 33.18",+000000.00</WorldPosition>
<Orientation>0.000,0.000,9.000</Orientation>
<ContainerTitle>veh_carrier01_high_detail_sm</ContainerTitle>
<ContainerID>0</ContainerID>
<IsOnGround>True</IsOnGround>
<AIType>GroundVehicle</AIType>
<GroundVehicleAI>
<GroundCruiseSpeed>35.000</GroundCruiseSpeed>
<GroundTurnSpeed>35.000</GroundTurnSpeed>
<GroundTurnTime>9.000</GroundTurnTime>
<YieldToUser>False</YieldToUser>
<WaypointList>
<WrapWaypoints>False</WrapWaypoints>
<CurrentWaypoint>0</CurrentWaypoint>
<BackupToFirst>False</BackupToFirst>
<Waypoint InstanceId="{904FD326-D807-44FC-BB22-2588A6CC3CAB}">
<AltitudeIsAGL>True</AltitudeIsAGL>
<WorldPosition>N40° 7' 50.46",W67° 27' 33.15",+000000.00</WorldPosition>
<Descr>Waypoint 1</Descr>
<SpeedKnots>1.000</SpeedKnots>
<WaypointID>0</WaypointID>
</Waypoint>
</WaypointList>
</GroundVehicleAI>
