Quote
Originally posted by Plugmaster-i-guess:
**What is an NCB and how do i use it?
I'm using the MissionComputer program (it's cool) to create my own plugins, but i god damned don't understand those NCB values. What do they mean.
Example from MissionComputer:
b13 & (b15 | !b72)
What does that mean?!
**
That particular example means that bit 13 will be set and bit 15 will be set or bit 72 will become unset I think. I remember wondering how the hell they worked. I'll try explain. NCB's or bits have 2 values, set or unset. All the NCB's start off unset. Say you have 2 missions and you don't want the second to be available until the first is completed. So in the OnComplete field of the first mission you put "b1" and in the AvailableOn field of the second mission you put "b1". This means missions 2 won't be available until bit 1 is set and once mission 1 is completed it sets bit 1, thus making mission 2 available. This might be a bit confusing, I can be like that sometimes.
------------------
We're going on a (url="http://"http://www.saunalahti.fi/hoge/")bear hunt(/url). They'll eat you if you misbehave. They live on an island out to sea. They will chew you up and spit out your bones. We live on the beach with all their rubbish. And people. Bears. Giant bears. They will eat me and you. Run back to the house before they catch us. Wee hee hee can't catch me.
(This message has been edited by Deathmatch (edited 08-09-2004).)