Jump to content
Sign in to follow this  
Jetrise

Using RscActivePicture with HREF's

Recommended Posts

Hello All,

 

I'm working on a small help GUI for players logging in to a server.

 

Essentially, I have a TeamSpeak 3 Icon using RscActivePicture. With structured text, you can make HREF's which would take you to an external link upon click.

 

Is there a way I can achieve the same thing in RscActivePicture onButtonClick?

 

Thanks,

 

Jet. 

Share this post


Link to post
Share on other sites

If you need clickable image you can always try RscStructuredText:


 

_ctrl = findDisplay 46 createDisplay "RscDisplayEmpty" ctrlCreate ["RscStructuredText", -1]; 
_ctrl ctrlSetPosition [0,0,1,1]; 
_ctrl ctrlCommit 0; 
_ctrl ctrlSetStructuredText parseText "<a color='#00FF00' size='5' href='http://arma3.com'><img image='\A3\weapons_f\ammoBoxes\data\ui\map_AmmoBox_F_CA.paa' /></a>";

 

  • Like 1

Share this post


Link to post
Share on other sites

I never knew you could do this in structured text. Thanks a lot Killzone. 

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
Sign in to follow this  

×