hogansheroes

Compass Heading

41 posts in this topic

Does anyone know where i get get the script or mod for the heading as i provided a pic below which is top of the image.

So how it works if you change direction the heading also moves to show which way you are going too.

Compass Heading.jpg

Share this post


Link to post
Share on other sites
Advertisement

Posted (edited)

@aussie battler

Just wanted to check in your example in the github, you have

class XM8_App09_Button: RscExileXM8AppButton1x1
{
    textureNoShortcut = "ExAdClient\XM8\Apps\compass\compass.paa";
    text = "Compass";
    onButtonClick = "ExileClientXM8CurrentSlide = 'apps';closeDialog 0;[] execVM 'custom\compass\voyagerCompass.sqf'";
    resource = "";
};

is the onButtonClick target correct? shouldn't it be pointing to the XM8\Apps\compass Directory?

I have tried both ways.. and for the life of me cant get it working.. No clue why

Edited by Slider

Share this post


Link to post
Share on other sites

Thanks @Slider for picking that up, I have a different directory in my mission file. I have corrected the github.

 

Spoiler

class XM8_App05_Button: RscExileXM8AppButton1x1
{
    textureNoShortcut = "ExAdClient\XM8\Apps\compass\compass.paa";
    text = "Compass";
    onButtonClick = "ExileClientXM8CurrentSlide = 'apps';closeDialog 0;[] execVM 'ExAdClient\XM8\Apps\compass\voyagerCompass.sqf'";
    resource = "";
};



 

Share this post


Link to post
Share on other sites

Make sure that you have compass.sqf in  ExAdClient\XM8\Apps\compass\voyagerCompass.sqf  

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.