zcold
27.02.2006, 21:49
I have some questions on ai.obj...
In ai.obj i have:
class sa_big_class : default_npc
parameter_define_begin
int lvl_sa 0
parameter_define_end
...
So, when sub-class call super-class, parameter lvl_sa always will be set to 0?
If in sub-class this variable is set to 1, it will be changed to 0?
What will be with:
push_parameter lvl_sa
push_const 0
greater
branch_false L41993
if parameter lvl_sa is not defined anywhere when class is called?
In ai.obj i have:
class sa_big_class : default_npc
parameter_define_begin
int lvl_sa 0
parameter_define_end
...
So, when sub-class call super-class, parameter lvl_sa always will be set to 0?
If in sub-class this variable is set to 1, it will be changed to 0?
What will be with:
push_parameter lvl_sa
push_const 0
greater
branch_false L41993
if parameter lvl_sa is not defined anywhere when class is called?