View Single Post
Old 08.12.2005, 12:58   #36
Kirikups
Архивный участник
 
Join Date: Oct 2005
Posts: 175
Default

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
Any help is welcome, tx
Kirikups is offline