View Single Post
Old 16.02.2006, 20:19   #7
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

Speaking of AI...

How can I set a level restriction?

Should it look like this?

Code:
handler 35  
   variable_begin 
      "ask" 
      "reply" 
      "talker" 
      "myself" 
      "_choiceN" 
      "_code" 
      "_from_choice" 
   variable_end 

   shift_sp 1 
   push_event   
   push_const 32 
   add 
   fetch_i    
   push_const 888 
   add 
   fetch_i 
   push_const 75 
   greater_equal 
   branch_false L90701
And:

Code:
L90701 "classchanger_denied.htm"
   shift_sp 1 
   push_event   
   push_const 32 
   add 
   fetch_i 
   push_parameter fnLowLevel 
   func_call 43   
   shift_sp -2 
   shift_sp -1
Flame me if I'm wrong.. but at least help me understand this..
Megatronpt is offline