(09-21-2011, 20:01)SuperNovaAO Wrote: [ -> ] (09-21-2011, 19:59)Pozzuh Wrote: [ -> ]As I understand it, it works like this
00101011 = 83
00000111 = 15
00000011 = 3
Both numbers have the last 1s in common.
Yes, this is how a CPU sees it. No idea if it's implemented properly in CoDScript.
I believe it is. Not in any cod before black ops though.
(09-21-2011, 20:02)Pozzuh Wrote: [ -> ] (09-21-2011, 20:01)SuperNovaAO Wrote: [ -> ] (09-21-2011, 19:59)Pozzuh Wrote: [ -> ]As I understand it, it works like this
00101011 = 83
00000111 = 15
00000011 = 3
Both numbers have the last 1s in common.
Yes, this is how a CPU sees it. No idea if it's implemented properly in CoDScript.
I believe it is. Not in any cod before black ops though.
I saw Zeroy used it for a cod4 mod... but its
Google bitwise opearators. It's implemented in many languages such as C, C++, C#, VB, etc. I'm not sure if it's implemented in GameScript language but if it is, it should work. I'm not sure if it equals to 5 though, on my phone :3
(09-21-2011, 20:10)iAegle Wrote: [ -> ]but its
Wtf are you talking about. That is
A way to check some bits. In this case ONE bit. The least significant.
You can describe this line as checking if a number is uneven.
Because for every uneven number that is represented as a bit string the LSB is set to on.
I've got a code-error=232176378123x=%718888
LOL this was the best spam post i've read
Best 10 post douchebag yet