View Single Post
Old 19.02.2006, 13:56   #1
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default [HELP] NPC is not talkable

Hello and thanks for reading this thread,
I've tried to create Event teleporters to get my players to the event place but I have the following problem: they are not talkable, I mean i can only attack them...

Here's all the code

NPCDATA
Code:
npc_begin	teleporter	8212	[event_gatekeeper_1]	level=66	exp=2719752xx.xx5	acquire_exp_rate=0.4	undying=1	can_be_attacked=0	acquire_sp=240	race=castle_guard	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=fist	base_can_penetrate=0	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=0	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=166xx.xx99369686	org_mp=5000.8	base_defend=16xx.xx040328361	base_magic_attack=10xx.xx409551736	base_magic_defend=14xx.xx389508343	base_physical_attack=10xx.xx431336161	physical_hit_modify=10	physical_avoid_modify=0	base_attack_speed=293	base_reuse_delay=1500	base_critical=8	magic_use_speed_modify=0	status={normal}	align=-1296	collision_radius=14	collision_height=26.6	category={}	clan={}	clan_help_range=1200	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[gkevent1];{[fnHi] = [gkevent001.htm]};{[fnYouAreChaotic] = [gkevent003.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
AI (I've checked it putting it on another teleporter like roxxy and it works)
Code:
class gkevent1 : teleporter
property_define_begin
	telposlist_begin Position
		{"<center>"; 15671; 142994; -2704; 0; 2 }
		{"Lugar del evento"; 148320; 46771; -3424; 0; 2 }
	telposlist_end
property_define_end
class_end
NPC_PCH
Code:
[event_gatekeeper_1]	=	1008212
Clientside:

npcname
Code:
npc_begin	id=8212	nickcolor=default	nick=[Gatitakeeper de Evento]	name=[Miau]	npc_end
npcgrp
Code:
npc_begin	npc_id=8212	npc_name=[]	npc_speed=2	class_name=[LineageMonster.cutie_cat]	mesh_name=[LineageMonsters.cutie_cat_m00]	texture_name={[LineageMonstersTex.cutie_cat_t00]}	texture_name_second={[]}	collision_radius=N/A	collision_height=N/A	attack_sound1={[none]}	defense_sound1={[MonSound.Hit_normal_3];[MonSound.Hit_Wet_1];[MonSound.Hit_Bone_2];[MonSound.Hit_normal_12]}	damage_sound={[MonSound.cutie_cat_dmg_1];[MonSound.cutie_cat_dmg_2];[MonSound.cutie_cat_dmg_3]}	sound_vol=250	sound_radius=50	sound_random=70	attack_effect=[LineageEffect.p_u002_a]	quest_be=0	level_limit={0;0}	class_limit={}	silhouette={[]}	property_list={0}	social=1	c3attr=0	npc_end
Any help is appreciated, thanks
m4rk is offline