bumyplum 10 Posted September 21, 2019 Is there a way to force a player to left click? Share this post Link to post Share on other sites
gokitty1199 225 Posted September 21, 2019 40 minutes ago, bumyplum said: Is there a way to force a player to left click? not afaik without writing an extension to simulate a mouse click. what do you need to happen? Share this post Link to post Share on other sites
bumyplum 10 Posted September 21, 2019 3 minutes ago, gokitty1199 said: not afaik without writing an extension to simulate a mouse click. what do you need to happen? i want a player to click a href to a youtube link but i want them to click it automatically Share this post Link to post Share on other sites
Dedmen 2727 Posted September 22, 2019 that could be terribly abused and is thus rightly so not possible with the game itself. 1 Share this post Link to post Share on other sites
killzone_kid 1333 Posted September 22, 2019 If you make a button with hardcoded url you can ctrlActivate it. Share this post Link to post Share on other sites
bumyplum 10 Posted September 22, 2019 2 hours ago, killzone_kid said: If you make a button with hardcoded url you can ctrlActivate it. _ctrl = findDisplay 46 createDisplay "RscDisplayEmpty" ctrlCreate ["RscShortcutButton", -1]; _ctrl ctrlSetPosition [0,0,.2,.2]; _ctrl ctrlCommit 0; _ctrl ctrlSetStructuredText parseText "<a color='#00FF00' size='1' href='http://youtube.com'> </a>"; I've attempted to create a button which on pressed opened the link how ever i'm unable to get it to actually load the link Share this post Link to post Share on other sites
killzone_kid 1333 Posted September 22, 2019 No, you need to make button from config and specify url = "...."; in config Share this post Link to post Share on other sites
bumyplum 10 Posted September 22, 2019 1 minute ago, killzone_kid said: No, you need to make button from config and specify url = "...."; in config Are you not able to do it within the mission from debug console for example? Share this post Link to post Share on other sites
killzone_kid 1333 Posted September 22, 2019 Yeah if you define button in mission config 1 Share this post Link to post Share on other sites