Skip to content

Make !grids list create temporary gps instead of permanent #196

Open

Description

@sisko91

Usually players use this command when trying to find a grid, and have to delete everything else they dont care about.

This is a one line change by adding an extra "true" at the end of this call

var gridGPS = MyAPIGateway.Session?.GPS.Create(grid.DisplayName, ($"{grid.DisplayName} - {grid.GridSizeEnum} - {grid.BlocksCount} blocks"), grid.PositionComp.GetPosition(), true);

This call has an optional param that defaults to false, which creates a permanent gps: https://github.com/KeenSoftwareHouse/SpaceEngineers/blob/a109106fc0ded66bdd5da70e099646203c56550f/Sources/VRage.Game/ModAPI/IMyGpsCollection.cs#L31

Activity

  1. dorimanx commented on Sep 9, 2021

    @dorimanx

    image
    Great find thank you, i will add this to my essentials fork for our servers.

  2. added a commit that references this issue on Sep 9, 2021
  3. added a commit that references this issue on Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions