LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[IDEA] Define some special spawn zones positions

Open iomatix opened this issue 1 year ago • 3 comments

Goal Description

I'm currently working on a plugin feature that handles custom escape sequences, and I ran into a limitation with LabAPI that I wanted to ask about.

Right now, I’m hard-coding the helicopter landing zone position like this:

Vector3 helicopterZone = new Vector3(127f, 295.5f, -43f);

I’d love to avoid hard-coding if possible. Ideally, I’d like to get the specific::

  • Position where the helicopter lands during escape
  • Coordinates where cars stop to pick up players

... or any other fixed escape-related waypoints or zones

Proposition:

  • Helicopter Landing Zone Position: The exact coordinates where the helicopter lands during MTF sequence
  • Vehicle Stop Points: Positions where vehicles stop to spawn Chaos
// Proposed API  
public static class SpawningZones
{  
    public static Vector3 HelicopterLandingZone { get; }  
    public static Vector3 CarStopPoint { get; }  
}

Notes

No response

iomatix avatar Jul 19 '25 22:07 iomatix

Also found that LabAPI doesn't allow for doing something like this:

OnEscapeTriggered = () =>
        {
            LogHelper.Debug("Summoning NTF chopper.");
            Exiled.API.Features.Respawn.SummonNtfChopper();
        }
    };

Without calling respawn event, Exiled allows to summon just the chopper as it is without respawning wave. Same for Chaos car.

iomatix avatar Jul 19 '25 23:07 iomatix

Thank you for your suggestion! We've logged this issue in our internal git system for further review and tracking. Please note that this doesn't guarantee acceptance or implementation at this stage. If we need any additional information or clarification, we'll be sure to reach out to you.

Jesus-QC avatar Oct 14 '25 09:10 Jesus-QC

We've reopened this suggestion to prevent confusion and duplicate posts. As stated before, the issue has been added to our internal tracker, but that does not guarantee acceptance nor implementation.

Axwabo avatar Apr 27 '26 18:04 Axwabo