STAR TREK 2d20
Page 2 of 4 First 1234 Last

Thread: MK Linker

  1. #11
    Its not a bug, its a feature
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  2. #12
    It must be FG fixing the slashes, because the code just looks like this.

    Code:
    function mkCreateLink()
    	local msg = {
    		text="(LINK)",
    		shortcuts={
    			{ description="testShortcut", class="url", recordname=DB.getValue("MKLinker.linkText") }
    		}
    	}
    	
    	Comm.addChatMessage(msg);
    end
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  3. #13
    Quote Originally Posted by mattekure View Post
    Its not a bug, its a feature


    Quote Originally Posted by mattekure View Post
    It must be FG fixing the slashes, because the code just looks like this.

    Code:
    function mkCreateLink()
        local msg = {
            text="(LINK)",
            shortcuts={
                { description="testShortcut", class="url", recordname=DB.getValue("MKLinker.linkText") }
            }
        }
        
        Comm.addChatMessage(msg);
    end
    Hm, interesting; while your extension fixes the slashes for me, the copy&paste into the chat doesn't correctly parse it. Moreover, I can even create a correct link with your extension without the file:// in front Thence, the chat copy&paste seemingly follows a slightly different code somewhere Never really looked at the chat codes though

  4. #14
    that is very interesting. I'll need to look into that and see what I can find.
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  5. #15
    Hey Mattekure, if it links to files on my computer, then my players, won't see it when they click the link correct? Because they don't have the file on their PCs, it will get triggered from my end though?So this would be only for DMs that use FGs in an around the table session?

  6. #16
    Quote Originally Posted by vaughnlannister View Post
    Hey Mattekure, if it links to files on my computer, then my players, won't see it when they click the link correct? Because they don't have the file on their PCs, it will get triggered from my end though?So this would be only for DMs that use FGs in an around the table session?
    Correct, it doesnt share any files. If you link to a file on your PC, the link will only work for you.
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  7. #17

  8. #18
    Hi,

    I'm using Unity (which I'm guessing is likely the issue! ), Ruleset 5e, Windows 10, and I can't seem to get this to work (either using MK-Linker or just typing into chat and letting FG create the link) I end up with (LINK) in chat bit no draggable button. Any suggestions?

    Also, should I be able to use this to trigger local audio files to play in their media player (just as though I'd double clicked on them in windows File Explorer)? I'd love to be able to populate maps with local audio triggers to use alongside 'Syrinscape Sounds'

    Cheers,

    Simon

  9. #19
    I just tested on Unity and it seems to work fine for me. Both file links and URLs are created just fine. Try creating a clean campaign with no other extensions enabled and see if it works there. Its possible another extension is affecting it.
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  10. #20
    Hi,

    yeah, it was conflicting with another extension, now the fun part to find out which one!

    One thing that I'm having a problem with is that before pasting the file path, I seem to need to first type any character, then paste the address straight after it, then back arrow through the address till i get to the original random character and then delete it, before the link made actually triggers the file. If I don't do that for some weird reason it seems to open the FG root folder? I've noticed that, after the very first link I create on opening FGU, the cursor seems to be left aligned but the text is centre aligned, if that makes sense and is any help?

    Anyhoo, with this work around I've managed to get it working consistently (fingers crossed!), now for the extension conflict hunt!

    Cheers,

    Simon

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in