Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

How do you access the GPS?

Discussion in 'Modding API' started by pcsagan, Mar 17, 2019.

  1. pcsagan Trainee Engineer

    Messages:
    3
    I've started a mod and I can print notification strings but I can't access the GPS. How do I get a reference to IMyGpsCollection? Please use working code - even just the variable declaration and assignment - as a response. Thanks.
     
  2. Digi Senior Engineer

    Messages:
    2,351
    MyAPIGateway.Session.GPS is the IMyGpsCollection reference.