Forums Index >> Modding >> script question
Page : <1> :
Hello?????
Rising like 1, 1.5, 2 ,2.5 ,3. Something like that
Omg
Anyone art crazy chilled lizard welfare
^ yeah thanks alot.... Welfare?
why dont you make fun of someone elses name
like fart crazy
or killed buzzerd
Anyway.... Use the schedual command
Oops sry Warfare wont happen again. And thx.
^^
LMAO
4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!
Hmmmm can you like show me an example of what kind schuele command
You could ask ben...
he has this
You have his email.
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 ;)
Thx np art crazy I did too somewhat. B)
Page : <1> :
How do you get a teams points to keep reasing over time.something like BBs mod CTB