Jump to content

Recommended Posts

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
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

that could be terribly abused and is thus rightly so not possible with the game itself.

  • Like 1

Share this post


Link to post
Share on other sites
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
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×