Forums Index >> Modding >> script question



Page : <1> :


How do you get a teams points to keep reasing over time.something like BBs mod CTB

Sunday, July 24, 2005 at 11:49:36 AM

Hello?????

Monday, July 25, 2005 at 7:24:40 PM

Was that resetting or rising?

Monday, July 25, 2005 at 7:56:06 PM

Rising like 1, 1.5, 2 ,2.5 ,3. Something like that

Tuesday, July 26, 2005 at 9:16:10 AM

I dunno I was just clarifying that for you. :P

Tuesday, July 26, 2005 at 9:17:55 AM

Omg

Tuesday, July 26, 2005 at 4:27:35 PM

Lol, sorry

Tuesday, July 26, 2005 at 4:47:50 PM

Anyone art crazy chilled lizard welfare

Wednesday, July 27, 2005 at 4:57:31 PM

^ yeah thanks alot.... Welfare?
why dont you make fun of someone elses name
like fart crazy
or killed buzzerd

Anyway.... Use the schedual command

 

 

 

 

Wednesday, July 27, 2005 at 7:45:03 PM

Oops sry Warfare wont happen again. And thx.

Thursday, July 28, 2005 at 4:46:52 AM

^^
LMAO

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Thursday, July 28, 2005 at 8:52:53 AM

LOL FART CRAZY ROFL!!

 

Thursday, July 28, 2005 at 10:58:47 AM

Hmmmm can you like show me an example of what kind schuele command

Thursday, July 28, 2005 at 4:50:37 PM

You could ask ben...
he has this

 

 

 

 

Thursday, July 28, 2005 at 6:36:22 PM

You have his email.

Thursday, July 28, 2005 at 7:21:54 PM

 

 

                                        
function DATABLOCK::OnEnter(%this,%db,%tank)
{
$Hasleftthegoal[%tank] = false;
bottomprintall(%tank.client.namebase SPC "is scoring!",2,2);
%tank.incscore(0.5,0.5);
schedule(1000,false,"scoreagain",%tank);
}
function DATABLOCK::OnLeave(%this,%db,%tank)
{
$Hasleftthegoal[%tank] = true;
}
function scoreagain(%tank)
{
if($Hasleftthegoal[%tank] $= true)
{
$Hasleftthegoal[%tank] = false;
bottomprintall(%tank.client.namebase SPC "has left the goal!",3,3);
return;
}
bottomprintall(%tank.client.namebase SPC "is scoring!",2,2);
%tank.incscore(0.5,0.5);
schedule(1000,false,"scoreagain",%tank);
}

 

Sorry I havent answered before but I found this thread so funny I thought I could wait :)
If you didnt get it you need to create a goal datablock and change DATABLOCK to that goal's datablock's name...
Then try entering it and see if it works...
NOTE: This script took me like 2 minutes to make. I have never tested it as I made it on the post (not on a.cs file or something)
This is not even like the CTF script, it has a complicated engine, while this one has an engine that could not be used for CTF without many bugs. Bugs that I know will happen: If 2 ppl in the goal the bottomprints will become messed up :)
I wont fix that as it'd need a big change but I guess thats what you wanted ;)


Friday, July 29, 2005 at 6:15:35 AM

Thx np art crazy I did too somewhat. B)

Friday, July 29, 2005 at 8:06:32 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald