Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 22.10.2005, 00:31   #1
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default [Help]Fixing chamberlain

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?
top-gear is offline  
Old 14.05.2006, 19:02   #2
Mr. Iron
Архивный участник
 
Join Date: Apr 2006
Posts: 48
Default

I need help, too! Someone fix it? It is possible to replace ID with 201 to another, but this is not correct!
Mr. Iron is offline  
Old 14.05.2006, 19:20   #3
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

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*
so it will check if the talker (player) is lord
toolpunk is offline  
Old 29.05.2006, 08:40   #4
Mr. Iron
Архивный участник
 
Join Date: Apr 2006
Posts: 48
Default

toolpunk, this not does helped!
Mr. Iron is offline  
Old 29.05.2006, 09:07   #5
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

uhm...
it must work.
sure you didn't do anything wrong?
btw, your sig is funny XD :laughing1:
toolpunk is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:52.