Exemple #1
0
 private void checkDeleteMarker()
 {
     if (ticks == deleteMarkerAt)
     {
         MyVisualScriptLogicProvider.RemoveGPS(deleteMarkerName, MyAPIGateway.Session.Player.IdentityId);
     }
 }
Exemple #2
0
        public void stopRecordingPoints()
        {
            recordingPoints = false;
            MyVisualScriptLogicProvider.RemoveGPS("Adding Waypoints", MyAPIGateway.Session.Player.IdentityId);
            for (int i = 0; i < patrolPoints.Count + 1; i++)
            {
                MyVisualScriptLogicProvider.RemoveGPS("Patrol Point #" + i, MyAPIGateway.Session.Player.IdentityId);
            }

            saveSettings();
        }