1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

How do you access the GPS?

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

Thread Status:
This last post in this thread was made more than 31 days old.
  1. pcsagan

    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

    Digi Senior Engineer

    Messages:
    2,393
    MyAPIGateway.Session.GPS is the IMyGpsCollection reference.
     
Thread Status:
This last post in this thread was made more than 31 days old.