View Full Version : [Help]Fixing chamberlain
top-gear
22.10.2005, 00:31
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?
Mr. Iron
14.05.2006, 19:02
I need help, too! Someone fix it? It is possible to replace ID with 201 to another, but this is not correct!
toolpunk
14.05.2006, 19:20
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
func_call 100 // func[IsMyLord]
shift_sp -1
branch_false L*insertnumber*
so it will check if the talker (player) is lord ;)
Mr. Iron
29.05.2006, 08:40
toolpunk, this not does helped!
toolpunk
29.05.2006, 09:07
uhm...
it must work.
sure you didn't do anything wrong?
btw, your sig is funny XD :laughing1: :D