Amplify said:Nick1234, yes i got the same problem
Dosnt rly seem to be a way to stop the ctf :/
Amplify said:It mainly is a bum script ;P
Alot of recoding is needed for it to be a good and working script...
Feel free to code so that:
flag drops on ground and not in corpse
a way to turn it off...
bcoz i sure as hell cant :<
nick1234 said:lol
i cant script that well, i just started and was looking for a little help so naturally i came to my buddies at run uo. Hmm maybe ill try to find a way to make those things happen if i do ill notify u
public void EndGame( bool Manual )
{
CTFTeam Winner = null;
int teamSize = this.TeamSize;
ArrayList list = new ArrayList( teamSize*m_Teams.Count );
if ( Manual )
{
if ( m_GameTimer != null )
m_GameTimer.Stop();
m_Open = false;
//m_GameTimer = new GameTimer( this );
//m_GameTimer.Start();
}
for (int i=0;i<this.Teams.Count;i++)
{
CTFTeam team = (CTFTeam)m_Teams[i];
if ( Winner == null || team.Points > Winner.Points )
Winner = team;
for (int j=0;j<team.Members.Count;j++)
{
Mobile m = (Mobile)team.Members[j];
if ( m.NetState != null )
{
team.Members.Remove( m );
list.Add( m );
}
}
}
for (int i=0;i<list.Count;i++)
{
Mobile m = (Mobile)list[i];
m.SendGump( new CTFTeamSelector( this, teamSize ) );
m.Frozen = true;
}
if ( !Manual )
{
if ( Winner != null )
this.PlayerMessage( "This round has ended. The winner is {0} with {1} points!", Winner.Name, Winner.Points );
else
this.PlayerMessage( "This round is over." );
this.PlayerMessage( "The next round will start in 60 seconds. Please select your team." );
new StartTimer( this, list ).Start();
}
else
{
this.PlayerMessage( "This game has ended. The winner is {0} with {1} points!", Winner.Name, Winner.Points );
}
}
Im a little confused on setting Corrdinates for the CTF... on this command line
public GameRegion() : base( "", "Game", Map.Felucca )
{
Priority = Region.HighestPriority;
LoadFromXml = false;
this.Coords = new ArrayList( 1 );
this.Coords.Add( new Rectangle2D( 5896, 393, 111, 111 ) );//ctf
this.Coords.Add( new Rectangle2D( 5901, 270, 96, 95 ) );//dd
}
the coords for the CTF has 4 numbers for coordinates... on the [props, it shows only three numbers for X Y Z... how do I fix this? im on RUnUo 1.0. everything runs find execpt for the regions. Help.
Originally posted by ]Raiden[
The first set of #'s is the location of the game region ie.. 5896, 393
The second set is how long and wide, by the way of tiles. 111 long and 111 wide..
hope that helps..
Michael642 said:Hi. I loaded the scripts and loaded the shard with no errors. I did the [add CTFGame command and when I went to place it it said...
Usage:
CTFGame Int32 numTeams
That's all it did. Can anyone please help me? Thanks!
Michael642 said:Usage:
CTFGame Int32 numTeams