![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
I tried to add some handlers in the AI code of the chamberlains so that everytime the user selects one of his options (withraw tax,banish foreigners,etc) it will first check if the person that speaks to him is the castle owner. the func_call 100 // func[IsMyLord] has to be put to each of the chamberlain's options,but I don't know the exact use of the function's use. Can you help me fix it?
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2006
Posts: 48
|
I need help, too! Someone fix it? It is possible to replace ID with 201 to another, but this is not correct!
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
Code:
shift_sp 1 push_event // talker push_const 32 add fetch_i func_call 100 // func[IsMyLord] shift_sp -1 branch_false L*insertnumber*
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2006
Posts: 48
|
toolpunk, this not does helped!
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
uhm...
it must work. sure you didn't do anything wrong? btw, your sig is funny XD :laughing1:
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|