Search Archive

Linear Compass and Stop Nav

By WeApOn · Dec 10, 2008in Hacks/Mods💬 5 posts👁️ 1,132 views
Posted Dec 10, 2008 · 23:52 UTC#1

I have keeper's linear compass mod, and I'd like to combine the stop navigation feature when you press the compass. However, the code I've seen around is used with the basic compass.

 

Does anyone have this mod working with a different compass? Could you help me get the code in place for it?

 

Thanks much.

Posted Dec 11, 2008 · 00:01 UTC#2

Just a guess, but this should work:

 

;compass 






Posted Dec 11, 2008 · 01:23 UTC#3

Rather than keeping multiple identical visual elements, you could have in onrelease something like "runif navigation.has_route sc_btnARM_Delete_OnRelease" this should keep the code a bit cleaner...

Posted Dec 11, 2008 · 02:37 UTC#4
Rather than keeping multiple identical visual elements, you could have in onrelease something like "runif navigation.has_route sc_btnARM_Delete_OnRelease" this should keep the code a bit cleaner...

 

Does that work? Man, would that be easier.

Posted Dec 11, 2008 · 03:32 UTC#5

I haven't checked this particular code, but similar is used often all over UI files. Do a search for runif and code something similar...