what's a metarule?

ColJack

Where'd That 6th Toe Come From?
ok so for those of us that aren't uber programmers, what's a metarule in the context of these scripts?

in Define.h it defines various phrases to mean verious metarules.

one in particular is

Code:
#define METARULE3_CAR_OUT_OF_FUEL           (110)
#define car_out_of_fuel                      metarule3(METARULE3_CAR_OUT_OF_FUEL,0,0,0)

which in my limited programming understanding leads me to think that it looks at a variable ( possibly internal? ) and returns it's value?
 
yea a variable,engine variable mostly,some of them can be accessed through metarules,lots of uses

Nirran
 
so in that example it's looking at what? variable 110 ( METARULE3_CAR_OUT_OF_FUEL ) and seeing if it is 0 ( but which of the 3 zero's? )
 
first 0,most metarules dont use the other 2,would be 0 if it is false,1 if it is true

Nirran
 
Back
Top