View Single Post
Old 14.10.2006, 22:56   #3
Mega
Архивный участник
 
Join Date: Oct 2006
Posts: 13
Default

Well actualy I was able to figure out that OwnItemCount(c=null) message appears when quest item should be add. In fact, for that code:
Code:
push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  c_quest0
	push_const 328
	add
	fetch_i
	push_const 1173
	push_const 1
	func_call 184746111	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  c_quest0
	push_const 328
	add
	fetch_i
	push_const 1173
	func_call 184680579	//  func[OwnItemCount]
	shift_sp -2
	push_const 20
	equal
	branch_false L36870
one should get spider_leg quest item for Path to Knight quest.

How can I decode that part using nasc to check code? I was trying to compare with other part of quest where player can get quest items, but still I cant figure out lot of things...

Please someone tip where to dig - 'cause i want to fix my quests (lot of them messed up) and i'm too lame to decompress from ai.obj so far.
thanks
Mega is offline