Page 2 of 2
Re: Knife Arena
Posted: 12 Jun 2013, 15:19
by ~][FGS][Nobody~
The "!" inverts the evaluation of the if-statement.
So for instance
Code: Select all
if(Jager.hasSpoon()) //that's equal to if(Jager.hasSpoon() == true)
{
Jager.eatNoodles();
}
That means, if Jager got a spoon, he will eat noodles.
However, when adding a "!"..
Code: Select all
if(!Jager.hasSpoon()) //that's equal to if(Jager.hasSpoon() == false)
{
Jager.eatNoodles();
}
That means, if Jager got NO spoon, he will eat noodles.
Thus, the meaning of the block remains the same but its condition to get executed inverts.
According to my reply count..
If I login and I had to read through several pages of posts before being able to give an adequate reply, I tend not to reply. (TLDR)
If there's a question, where I assume that other more active forum users can give a qualified answer too, I tend not to reply.
Re: Knife Arena
Posted: 12 Jun 2013, 16:02
by ~Blade~
WAIT WAIT... how do you eat noodles with a spoon anyway?

Re: Knife Arena
Posted: 12 Jun 2013, 16:58
by jager774
~Blade~ wrote:WAIT WAIT... how do you eat noodles with a spoon anyway?

Blade - Nobody : 1-0
Re: Knife Arena
Posted: 14 Jun 2013, 10:15
by ~][FGS][Nobody~
I love enlightening those who are clueless.

Re: Knife Arena
Posted: 14 Jun 2013, 11:58
by ~DJ~
Those are not noodles, silly.. we're not that stupid.
edit: derp, duno why i suggested to look somewhere else while we can just remove the check for SP.. SO YE thnx 4 explaining that nobodeh
Re: Knife Arena
Posted: 14 Jun 2013, 12:28
by jager774
back on topic guysD:
i still didn't get any replies from bambi, nor the DXL thingy.
Re: Knife Arena
Posted: 14 Jun 2013, 18:10
by ~DJ~
Re: Knife Arena
Posted: 14 Jun 2013, 18:33
by RedDynasty
About the menu thing, if you want i got all the original cagematch files.
Re: Knife Arena
Posted: 14 Jun 2013, 19:50
by jager774
Yes um... of course if you'd hand it over i would use it if i can^^
Can you separate the menu part only?:o It wont work standalone will it?

Re: Knife Arena
Posted: 14 Jun 2013, 21:30
by RedDynasty
I dont think so, since the menu has the credits variable, that is related to the cagematch gametype it self
Re: Knife Arena
Posted: 14 Jun 2013, 23:34
by jager774
RedDynasty wrote:I dont think so, since the menu has the credits variable, that is related to the cagematch gametype it self
And can i remove it?
I dont really need to have money in the menu,i just want the menu itself so it has that CS feel.
Re: Knife Arena
Posted: 15 Jun 2013, 04:05
by RedDynasty
Oh crap nvm, i lost the files somehow. I believe my deus ex is haunted, and somehow managed to delete my cache files( even though i change the PurgeCacheDays to 0)
Sorry, you gotta ask poor then.
Re: Knife Arena
Posted: 15 Jun 2013, 10:58
by jager774
You cant set the cache purging to anything else i think. I set it to 3000 days and all my cache got deleted after 90 days:\
Re: Knife Arena
Posted: 15 Jun 2013, 12:30
by chin.democ.
I assume the purge cache value runs values between 0 (infinite, never delete) and 90 (delete after 90 days), a value of 3000 wouldn't be recognised.
Re: Knife Arena
Posted: 15 Jun 2013, 13:31
by jager774
Ah, i see. ill change it to 0 then