Is this possible? Want to link to my Workshop in my briefing, so when i click on it i will be transported to my workshops homepage. However, is this even possible to do? Wants this because i want to tell player to go there to get the newest update of a mission.
Maybe a little bit late to the party, but I just had a thought to achieve the same thing and got it working. Steps I took were:
1. Create a .sqf in your mission (e.g. links.sqf) with a copyToClipboard of your link:
copyToClipboard "https://youtu.be/2ZpStHUFQ-4";
2. Declare the .sqf in your description.ext:
class CfgFunctions
{
class MIL
{
class Common {
class links {file = "links.sqf";};
};
};
3. In your diary record include the command <execute expression='code'>text</execute> in the same way that you'd use a marker link as part of a sentence or something else:
bla bla bla <execute expression='nul = [] spawn MIL_fnc_links'>(Copy YouTube link to clipboard)</execute> more bla bla bla
I hope that is easy to understand. I'm running on a full day after very little sleep last night, so if the explanation is a bit off please let me know and I'll fix it up, because I got it working for myself pretty easily.