Unable to let enemy ship retreat

Forum ▸ Mods

Hi everybody,

I could not figure out, how to let an enemy ship retreat and jump out of the system. The enemy ship, the "KIC Renegade" jumps into the system. It has the order to "Stay near Alpha 1" priority 10. And to "Attack Alpha 1" (30)

If the weapon-subsytem is destroyed, the ship is supposed to retreat. It flies back to the Jumpnode which is also Waypoint Path 1 (works like a charm) but then, nothing happens. I set the ai-order to "warp-out", but nothing happens.

I could not find any other option to let ships warp out besides the "add-goal".

I attached a PNG for more details. Hope you guys can help me out.

So long, and thanks for all the fish! 😊 shredher

Here's a second variant that also failed (I tried adding "is-event-true-delay" and checked if the "KIC_RENEGADE_Weapons destroyed" event took place")

Use Either Are-Waypoints-done-delay or is-event-true-delay as the departure cue of the ship

That worked great thanks. However, "are-waypoints-done-delay" did not work. Instead I let the enemy retreat to the direction of the Jumppoint and let it jump as soon as the distance between ship and waypoint droped under 1000.