Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 03:31

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

Advertisement



Quest-Frage: npc.get_race

Discussion on Quest-Frage: npc.get_race within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Prototype333's Avatar
 
elite*gold: 500
Join Date: Nov 2011
Posts: 173
Received Thanks: 4
Quest-Frage: npc.get_race

Hallo.

Ich bin jetzt seit Stunden am grübeln. Es geht um die folgende Quest:


Ganz einfache Quest. Wenn man Mob 101 bis 106 tötet, dann soll eine Nachricht im Chat stehen.
ABER: Ich töte Mob 107: Nachricht erscheint. Ich töte Mob 601: Nachricht erscheint. Egal welchen Gegner ich töte diese scheiß Quest lässt im Chat die Nachricht erscheinen.
Ich versteh einfach nicht wie das möglich ist! Habe alles ausprobiert, es geht nicht. Wieso???

Prototype333 is offline  
Old 06/02/2014, 18:45   #2

 
elite*gold: 0
Join Date: Mar 2013
Posts: 2,449
Received Thanks: 6,448
Code:
quest droptest begin 
    state start begin     
        when kill begin 
            if npc.get_race() >= 101 and npc.get_race() <= 106 then
                local random = number(1, 1) 
                    if random == 1 then 
                        chat("Du hast das richtige Monster getötet.") 
                    end 
            else 
                return 
            end 
        end 
    end 
end
Du müsstest die Variable jedes mal neu abfragen bzw neu eingeben.
Lord iRemix is offline  
Thanks
1 User
Old 06/02/2014, 19:10   #3
 
Prototype333's Avatar
 
elite*gold: 500
Join Date: Nov 2011
Posts: 173
Received Thanks: 4
Ohman, klar doch >.<
Danke.
Prototype333 is offline  
Reply


Similar Threads Similar Threads
[QUEST FRAGE ] Kill Quest
12/26/2011 - Metin2 Private Server - 5 Replies
Moin ich wollte gerade eine quest schreibe (genaueres sage ich nicht) Mit welchem Befehl kann einer Quest gesagt werden, dass der letzte Kill gespeichert werden soll bitte um schnelle rueckmeldung
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder
[FRAGE]Quest befehl frage
12/24/2010 - Metin2 Private Server - 0 Replies
Moin, da ich noch ned so gut in questen bin wollte ich mal fragen wie ich den befehl ensetze: next_time_set() muss der befehl nach der handlung sein z.b. pc.give_item(vnum) next_time_set(10) und die 10 dann 10 minuten ist und ich muss dann ja vor der handlung
[Frage]GM Mode Quest/Admin ist Online quest
10/25/2010 - Metin2 Private Server - 1 Replies
Hey ich habe eine Kurze frage und zwar möchte ich lieber doppelt sicher sein und habe noch eine Quest gefunden die /admin_test flag 0 alle paar sek. schreibt und dazu auf der Letzen seite hat einer geschrieben das angezeigt wird sprich xxxx ist nun für eure Fragen und Probleme verfügbar+ diesen /event_flag test 0 cmd nur wie bzw wo füg ich das sein ich habe kein passenden Thread zu gefunden.. Dort auf der letzen seite:...



All times are GMT +2. The time now is 03:31.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.