View Single Post
Old 08.08.2005, 04:24   #1
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default privates @ some npcs..

when npcpos loading Im getting error about few npcs..
npc ... doesn't have parameter [Privates]. Failed to set.

I tried to make it like this.. but that dont help

Code:
class lost_cat_the_cat_a : warrior_passive
parameter_define_begin
	string Privates "orc:party_private:1:20sec"
parameter_define_end
handler 13	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 28
	add
	fetch_i	//  sm
	push_const 2400
	add
	fetch_i	//  weight_point
	push_const 1624
	add
	push_reg_sp
	fetch_i
	push_const 10
	assign
	shift_sp -1
	shift_sp 1
	push_parameter Privates
	func_call 165	//  func[CreatePrivates]
	shift_sp -1
	shift_sp -1
	call_super
handler_end
class_end
How to make that class empty without that Privates error?
Or can anybody post ai.obj with your monsters? its about the new ricenseo, trives, kurikups...etc

thanks
rodier is offline