To launch a network game using only fscommands and Kismet, there are a few ways you can do this.
1. Combine the two strings ("open" & the IP address) in ActionScript, then send this as an argument of an fscommand. Example:
Code:
fscommand("join", "open " + ip); // where ip is the string variable containing the IP address entered into a textfield (ip = ipTextField.text)
Be sure "open " includes a space after the word open. The final output would be something like "open 127.0.0.1"
Then set up your Kismet like so:

2. Create your own concat string node in Kismet, that will allows you to combine the string "open" with the ip string. Here's a tutorial on how to make your own concat string Kismet node:
http://udn.epicgames.com/Three/Devel...ismetNode.html
Here is the AS3:
Code:
// variable to hold the hosts ip address
var ip:String;
// client ///////
// call Joining function when join button is clicked
join_mc.addEventListener(MouseEvent.CLICK, joining);
function joining(evt:MouseEvent):void
{
ip = ip_mc.text; // make ip variable whatever is typed into the TextInput "ip_mc"
fscommand("join", ip);
}
Here is the Kismet setup:

BE SURE the Str Value of the join string variable above is "open " - that's the word open, with a space after it. Leave the Str Value of the IP variable blank, as well as leaving the ConsoleCommand Str variable's Str Value blank.
Bookmarks