Page 1 of 1

actor to launch browser to website

PostPosted: Wed Apr 20, 11 4:03 am
by Shinobi
i need help with something.
alex did this for me (i think it was alex) a few years back but i need it again.

want to use a computer (or any other believable object like a button or something) to open a player's browser to a certain site when clicked.

right now i want www.shinobi.talktalk.net to be opened

i know its possible but haven't a clue how to do it

PostPosted: Wed Apr 20, 11 9:20 am
by ~DJ~
It's just a simple command.

Code: Select all
open


Many of us are already familiar with it, as we open maps from this command too, but in your case, you can just type this:

Code: Select all
open http://www.shinobi.talktalk.net/


That'll open the website.

You can also use my command-trigger to execute it on players via trigger.

PostPosted: Wed Apr 20, 11 9:26 am
by Shinobi
I wanted it so that if they clicked on a computer or a spider bot or something it would open, i dunno how to code stuff at all

PostPosted: Wed Apr 20, 11 9:29 am
by ~DJ~
You can create a new class, add a function frob on it, which it executes a consolecommand telling it to execute the open command to the frobber... pretty simple.

PostPosted: Wed Apr 20, 11 9:36 am
by Alex
~DJ~ wrote:You can create a new class, add a function frob on it, which it executes a consolecommand telling it to execute the open command to the frobber... pretty simple.

Replication, replication, replication.

Execute on client instead of server, anyone?

PostPosted: Wed Apr 20, 11 9:38 am
by Shinobi
oh fuck it i dunno what any of that means lol