Page 1 of 1
Can you open a webpage from a button/link in Team Arena menu
Posted: Fri Jun 04, 2010 3:09 am
by bludshot
I'm working on the (TA) menus for my mod, and I'm wondering if there is a way to have a button that you could click on that when pressed quits (or alt tabs) out of the game and tries to open a url link using your operating system (so in other words, it will open up your default browser and go to that web site).
And I mean without having to code anything new in the mod/game code.
Seems like the answer is probably no, but figured I would ask.
Re: Can you open a webpage from a button/link in Team Arena menu
Posted: Fri Jun 04, 2010 8:15 am
by ^misantropia^
And the answer is indeed 'no'. =)
Re: Can you open a webpage from a button/link in Team Arena menu
Posted: Sun Jun 06, 2010 5:43 pm
by Pyrite
Does the mod/game code have any functions like exec() or system() where you can run a system command/program?
Re: Can you open a webpage from a button/link in Team Arena menu
Posted: Sun Jun 06, 2010 5:54 pm
by ^misantropia^
Nope. The SDK is designed to run in a sandbox.
Re: Can you open a webpage from a button/link in Team Arena menu
Posted: Sun Jun 06, 2010 6:01 pm
by Pyrite
I bet if he distributes the ioquake3 engine build with his mod, he could add a new client command to do that in ioquake3, and then have the mod/sdk trigger that client command?
Re: Can you open a webpage from a button/link in Team Arena menu
Posted: Sun Jun 06, 2010 6:33 pm
by ^misantropia^
Yep, but that doesn't satisfy the below requirement. =)
And I mean without having to code anything new in the mod/game code.