hello
booleans are giving me trouble and i susspect its because im not coding right.
im trying to do a simple lan connect to test everything, i got it joining ok but not hosting.
In Flash
its declared like this
var bTheHost:Boolean;
on a button press its made true like this, i know this gets called.
case "Host":
bTheHost = true;
break;
then an if statement like this doesnt seem to work?
if (bTheHost == true)
{
ExternalInterface.call("FlashToConsole", "open UW2-Monaco?Listner");
}
else //its always this
{
ExternalInterface.call("FlashToConsole", "open UW2-Monaco");
}
In Unreal Script FlashToConsole is from allars forecourseui and i know it works
thanks




Reply With Quote



Bookmarks