[MSFS 2020] Worldscript Vehicle triggering/following WaypointList not working

Hi together,
im currently trying to build an animation with an vehicle following different routes with Waypoints. I try to start the route with the following code to trigger:

<SimMission.ObjectActivationAction InstanceId="{68235e3d-2f8c-4b15-930a-38e78ded7e73}">
      <WorldBase.ObjectReferenceList>
        <ObjectReference InstanceId="{0b6e1297-ec48-4266-a93f-47c6a439bbd6}" id="TimerTrigger"/>
      </WorldBase.ObjectReferenceList>
    </SimMission.ObjectActivationAction>
    <SimMission.TimerTrigger InstanceId="{0b6e1297-ec48-4266-a93f-47c6a439bbd6}">
      <StopTime>5.000</StopTime>
      <WorldBase.Activated>true</WorldBase.Activated>
      <Actions>
      
         <WorldBase.ObjectReference id="wayA" InstanceId="{9a34a06a-49bc-4d5f-8d13-2455c8acd980}"/>
      </Actions>
    </SimMission.TimerTrigger>
    <SimMission.ObjectActivationAction InstanceId="{fc63afb3-36cd-49ef-9b98-855304419e78}">
      <WorldBase.ObjectReferenceList>
        <ObjectReference InstanceId="{8ad8a28e-1796-4220-86b3-1abc2dcb52fb}" id="TimerTrigger"/>
      </WorldBase.ObjectReferenceList>
    </SimMission.ObjectActivationAction>
    <SimMission.TimerTrigger InstanceId="{8ad8a28e-1796-4220-86b3-1abc2dcb52fb}">
      <StopTime>5.000</StopTime>
      <WorldBase.Activated>false</WorldBase.Activated>
      <Actions>
        <WorldBase.ObjectReference id="wayA" InstanceId="{9a34a06a-49bc-4d5f-8d13-2455c8acd980}"/>
      </Actions>
    </SimMission.TimerTrigger>

    <SimMission.ActivateWaypointsAction InstanceId="{9a34a06a-49bc-4d5f-8d13-2455c8acd980}">
      <SimContain.WaypointList>
        <WrapWaypoints>false</WrapWaypoints>
        <CurrentWaypoint>0</CurrentWaypoint>
        <BackupToFirst>false</BackupToFirst>
        <AlwaysBackUp>false</AlwaysBackUp>
        <YieldToUser>false</YieldToUser>
        <Waypoint InstanceId="{b9a3adc6-87ef-4864-90a7-6f9e2ffc6317}">
    <WorldBase.AltitudeIsAGL>true</WorldBase.AltitudeIsAGL>
    <SimBase.Descr>WPR_A.0</SimBase.Descr>
    <SpeedKnots>15.000</SpeedKnots>
    <WorldBase.IsTeleportEnable>false</WorldBase.IsTeleportEnable>
    <WaypointID>0</WaypointID>
    <WorldBase.AttachedWorldPosition>
      <AltitudeIsAGL>true</AltitudeIsAGL>
      <IsOnGround>true</IsOnGround>
      <WorldPosition>43.82588734162167,18.33751510123629,+000000.00</WorldPosition>
    </WorldBase.AttachedWorldPosition>
  </Waypoint

Unfortunate nothing is happening, I added testwise an ExecuteRPNAction which indeed work. But my vehicle is just being “stuck” at its initial point. I attatched the whole xml file

I appreciate any kind of help

Best regards
Levi

I think you need to add an initial waypoint list inside your parameterAI. Otherwise it probably disables the AI.

At least that’s how I have it set up.

I just found the issue, it was a wrong naming in the WorldBase.ContainerTitle

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.