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.
Can you open a webpage from a button/link in Team Arena menu
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Can you open a webpage from a button/link in Team Arena menu
And the answer is indeed 'no'. =)
Re: Can you open a webpage from a button/link in Team Arena menu
Does the mod/game code have any functions like exec() or system() where you can run a system command/program?
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Can you open a webpage from a button/link in Team Arena menu
Nope. The SDK is designed to run in a sandbox.
Re: Can you open a webpage from a button/link in Team Arena menu
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?
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Can you open a webpage from a button/link in Team Arena menu
Yep, but that doesn't satisfy the below requirement. =)
And I mean without having to code anything new in the mod/game code.