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 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  
 


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 15:52.