![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jan 2006
Posts: 54
|
Well... i try to search in this forum but i cant find this info...
I see in one server (L2OFF of course) where NPCs send greetins to players when you talk to him (like retail), i ask for this in other post and one person answer me that has been shared before, anyone can help me with this ? im believe is somthing in AI, but i cant find any data of this in this forum. i read all mod sections and nothing. Here is a screenshot ![]() sorry my bad english |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Mar 2006
Posts: 38
|
if you need this yet write me PM, I give you example of my ai.obj
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2005
Posts: 143
|
search for npc animation ..there is a post somewhere already
(never payed much attention to that) something to do with func_call 13 // func[AddEffectActionDesire] |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
Yeah it has been shared more then 2 times
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
u saw it in my server ^^ ?:P
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jan 2006
Posts: 54
|
No, was a C3 server
now, im found a post called NPC Animation.im trying to use data of this post unsusccessfully... LIRIK send me this... Code:
handler 4 // TALK_SELECTED
variable_begin
"talker"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // talker
push_const 32
add
fetch_i
S0. "noquest.htm"
push_string S0
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1
push_const 3000
push_const 10
func_call 13 // func[AddEffectActionDesire]
shift_sp -4
shift_sp -1
handler_end
handler 32 // MENU_SELECTED
variable_begin
"talker"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1
push_const 3000
push_const 10
func_call 13 // func[AddEffectActionDesire]
shift_sp -4
shift_sp -1
handler_end
class_end
Code:
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1
push_const 3000
push_const 10
func_call 13 // func[AddEffectActionDesire]
shift_sp -4
shift_sp -1
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
use it on citizen not default_npc
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jan 2006
Posts: 54
|
thx Metalmurphy, when i return to house i go to test that.
A lot of thanks!!! |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Feb 2006
Posts: 207
|
I use it to all main classes: teleporter, citizen, merchant, custodian... etc
Work nice. |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
AddEffectActionDesire(talker, 1, 3000, 10);
thats it? |
|
|
|
|
#11 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
can u show me your ai? where u put that exactly.. or learn me how to find on which line to put it at each class.. thanks
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
geezus...
the AI is right there what more do u want?? |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|