OnCreateDFN and onCreateTile broken
Posted: Sat Mar 24, 2007 5:26 pm
Neither onCreateDFN nor onCreateTile seem to be working. I tested both in a script with global ID 0 to see if I could teleport a character to a given location (with both Teleport and SetLocation just to be sure). The code I tested with:
Nothing happened, not even the textmessage.
Summarily this breaks a lot of scripts, including those for picking starting towns and/or custom races on login right after character creation.
Code: Select all
function OnCreateDFN( objMade, objType )
{
objMade.TextMessage( "WIOOOOO" );
objMade.Teleport( 3651, 2649, 0, 0 );
objMade.SetLocation( 3651, 2649, 0, 0 );
}
function OnCreateTile( objMade, objType )
{
objMade.TextMessage( "WIOOOOO" );
objMade.Teleport( 3651, 2649, 0, 0 );
objMade.SetLocation( 3651, 2649, 0, 0 );
}Summarily this breaks a lot of scripts, including those for picking starting towns and/or custom races on login right after character creation.