Skip to content

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

@sisko91

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

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