Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 09.12.2005, 16:02   #1
Kirikups
Архивный участник
 
Join Date: Oct 2005
Posts: 175
Default AI- Castle Owner

hello, i try to check if pc (talker) is Caslte Owner in order my npc give an item only if pc owns a castle, i found this but i dont understand what it means exactly:

Code:
shift_sp 1 
func_call 126	//  func[Castle_GetPledgeId] 
push_event	//  talker 
push_const 32 
add 
fetch_i		//  pledge_id 
push_const 664 
add 
fetch_i 
equal 
push_reg_sp 
fetch_i 
branch_false LXXX
i know i can use chamberlain way but i am looking to do it with a npc noc owned by any castle especially.

Any help is welcome, tx
Kirikups 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 22:18.