Game Development Community

Launching URL from Torque?

by Erik Yuzwa · in Torque Game Engine · 11/20/2004 (10:06 pm) · 2 replies

Hi,

This must've been discussed before, but I can't seem to find it. :(

All I want to do is have my "Buy" button launch the default browser to my website..

How can I do this please?

Thanks!

About the author

multi-talented game and web developer based in the glacial ice-caps of Calgary, Alberta. I'm versed in C++, and trying out Torque Game Builder Pro. I hope to get to know you, drop me a line and let's chat.


#1
11/20/2004 (10:14 pm)
The function you need is gotoWebPage().

There was a problem with it (see
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4231)
maybe you can post if you were successful.
#2
11/20/2004 (10:21 pm)
Worked perfectly! Thanks!

In my mainMenuGui.gui I added the following to my "BuyMe" button script..

command = "gotoWebPage(\"http://www.wazooenterprises.com\");";

and BINGO!