Dynamic respawn point

Hello everyone,

I want to create a dynamic spawn point in my mission. I’ve tried many approaches, but none have worked so far.

I tested duplicateAreaAtPos (with a parameter named var_out) on the position of a vehicle that had stopped at a specific location. Then I used markAsRespawnPoint(@var_out) , but it didn’t work.

I also tried using markAsRespawnPoint directly on the vehicle with the isUnit parameter enabled, but that also didn’t work.

MoveRespawnBase on vehicle also no results.

To describe the full task clearly: I have a unit that is moving, and at a specific moment, I want to create a spawn point directly on it or at its position.

I had the same idea, but I still do not know how to implement this.

I haven’t tried anything like this yet. But I’m guessing you can set Area (sphere) and name them appropriately (dynamic_spawn_1, dynamic_spawn_2, etc or whatever) then set the 2nd, 3rd, etc as “Disabled” and start with the first one Enabled at initialization (initMission).

Have another Trigger sense when the Unit enters whatever Area you want. Since the spawn uses an Area you can just re-use that Area in the trigger to check if the unit is inside it.

If the unit is inside the desired Area, set that Area to Enabled and in the same Trigger set the other spawns as Disabled.

That’s the best idea I got outside of using Capture Points with spawns attached to them.