Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 10:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]NPC level in quest

Discussion on [HELP]NPC level in quest within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2008
Posts: 17
Received Thanks: 26
.

.
Dupl3xx is offline  
Old 04/29/2011, 19:42   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 7,902
Received Thanks: 2,151
pc.level < npc.get_level

I think it doesn´t work because of the script.

npc.get_level

=

when npc get level up!?

I think thats the problem ...
.$Terra$. is offline  
Old 04/29/2011, 20:24   #3
 
.Delta's Avatar
 
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661
try it like this
PHP Code:
when kill begin
if npc.is_pc() and npc.empire != pc.empire and pc.get_level() < npc.get_level() then
local count 
pc.getqf("state") - 1
if count <= 100 then
pc
.setqf("state"count)
q.set_counter("Zbývá "count)
end
end 
i hope that is only an excerpt out of your whole quest
.Delta is offline  
Thanks
2 Users
Old 04/29/2011, 20:33   #4
 
elite*gold: 32
Join Date: Dec 2010
Posts: 1,294
Received Thanks: 862
npc.get_level ist keine Funktion, von daher wirds nicht gehen.
npc.get_level isn't a function, so it will not work.
√π. is offline  
Thanks
1 User
Old 04/29/2011, 20:44   #5
 
elite*gold: 32
Join Date: Dec 2010
Posts: 1,294
Received Thanks: 862
I had this problem too and didn't find an solution. Probably the condition save the name or whatever from the traget and you could find out his level with pc.get_level(kill) or something. But this is just an exception!
√π. is offline  
Old 04/29/2011, 21:06   #6
 
elite*gold: 32
Join Date: Dec 2010
Posts: 1,294
Received Thanks: 862
Yes, there must be an declaration for m_level like
PHP Code:
local m_level=find_pc_by_name(eingabe
But the condition
PHP Code:
when kill begin 
didn't save the name from the target so you can't find out his level.
√π. is offline  
Old 04/30/2011, 15:54   #7
 
elite*gold: 32
Join Date: Dec 2010
Posts: 1,294
Received Thanks: 862
No, there isn't an solution
√π. is offline  
Reply


Similar Threads Similar Threads
[Quest-Little] Well done LeveL Up
07/29/2011 - Metin2 PServer Guides & Strategies - 12 Replies
What do this Quest ? When levelup you recive text: Yang and level: Quest : quest well_done begin state start begin when levelup begin
Skil Level Need quest item called 120 NPCs l l P l steel Level NPC Providing Online
09/17/2010 - Metin2 Private Server - 1 Replies
Skil Level Need quest item called 120 NPCs l l P l steel Level NPC Providing Online l New Maplar l7/24 Yang Royal Vs.Vs 0 .. All items will Editli Events Everything here 120 LeveL ?temi l P Skil Npcsi l LeveL Veren Npc l Çelikli l Yeni Maplar l7/24 Online Come on Come on Come on Come on
Skil Level Need quest item called 120 NPCs l l P l steel Level NPC Providing Online
09/17/2010 - Metin2 Private Server - 0 Replies
Skil Level Need quest item called 120 NPCs l l P l steel Level NPC Providing Online l New Maplar l7/24 Yang Royal Vs.Vs 0 .. All items will Editli Events Everything here 120 LeveL ?temi l P Skil Npcsi l LeveL Veren Npc l Çelikli l Yeni Maplar l7/24 Online Come on Come on Come on Come on



All times are GMT +1. The time now is 10:05.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.