*bump*
What's wrong with this?
PHP Code:
function onCreated()
{
canwarp2();
canwarp();
this.battlegrounds =
{
"syn_battleground1.gmap",
"syn_battleground2.gmap",
"syn_battleground3.gmap",
"syn_battleground3a.gmap",
"syn_battleground1_cavec1.nw",
"syn_battleground1_cavea1.nw"
};
setTimer( 5 );
}
function onTimeOut()
{
for ( temp.i: this.battlegrounds )
{
warpto( temp.i, 30, 30 );
for ( temp.a: npcs )
{
temp.a.trigger( "update", "" );
}
//echo( this.level.name );
}
setTimer( 5 );
}