function createController()
{
return new ScriptObject()
{
class="Controller";
time=0;
status=0;
peopleQueue=new SimSet();
people=new SimSet();
};
}
$RW::Controller=createController();
For some reason it will return one of the new simSets I created and not the Script Object itself. Anyone know why this is happening?