Register for your free account! | Forgot your password?

You last visited: Today at 01:24

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

Advertisement



Quest

Discussion on Quest within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
xMichiix's Avatar
 
elite*gold: 435
Join Date: Nov 2009
Posts: 602
Received Thanks: 195
Quest

HAllo,

wie kann ich diese quest so umschreiben das sie ohne timer läuft ?

when 20110.chat."Darf ich auf dir reiten?" with pc.get_map_index() == 1 begin
local delay=9600
if get_global_time()-pc.getqf("time1") < delay and pc.getqf("time1") !=0 then
say("Ich bin noch zu kaputt,")
say("Versuch es später wieder")
return
end
say("Ja darfst du.")
say("Aber ich bin noch Jung und habe keine Erfahrung im Kämpfen")
say("Du wirst also keinen Schaden machen")
local s=select("Ja gerne","Nein danke")
if s ==1 then
say("Viel Spass")
horse.unride()
npc.purge()
timer("unride1",360)
pc.mount(20110,360)
pc.setqf("time1",get_global_time())
end
end

Danke im vorraus!
xMichiix is offline  
Old 03/15/2011, 20:43   #2
 
Deluxe*2010's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 92
Received Thanks: 36
Ehm das sind die Timersachen meines Wissens.
» Das rote dann entnehmen 'logisch '

Quote:
when 20110.chat."Darf ich auf dir reiten?" with pc.get_map_index() == 1 begin
local delay=9600
if get_global_time()-pc.getqf("time1") < delay and pc.getqf("time1") !=0 then
say("Ich bin noch zu kaputt,")
say("Versuch es später wieder")
return
end
say("Ja darfst du.")
say("Aber ich bin noch Jung und habe keine Erfahrung im Kämpfen")
say("Du wirst also keinen Schaden machen")
local s=select("Ja gerne","Nein danke")
if s ==1 then
say("Viel Spass")
horse.unride()
npc.purge()
timer("unride1",360)
pc.mount(20110,360)
pc.setqf("time1",get_global_time())
end
end

Eine andere Quest [Mit Item & anderes Reittier]:
Deluxe*2010 is offline  
Old 03/15/2011, 20:52   #3
 
.Plazmaa's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 2,023
Received Thanks: 947
^This
PHP Code:
when 20110.chat."Darf ich auf dir reiten?" with pc.get_map_index() == 1 begin
say
("Ich bin noch zu kaputt,")
say("Versuch es später wieder")
return
end
say
("Ja darfst du.")
say("Aber ich bin noch Jung und habe keine Erfahrung im Kämpfen")
say("Du wirst also keinen Schaden machen")
local s=select("Ja gerne","Nein danke")
if 
==1 then
say
("Viel Spass")
horse.unride()
npc.purge()
pc.mount(20110,360)
end
end 
So müsste es gehen. !!Nicht getestet!!
.Plazmaa is offline  
Old 03/15/2011, 21:07   #4
 
xMichiix's Avatar
 
elite*gold: 435
Join Date: Nov 2009
Posts: 602
Received Thanks: 195
jop geht so habs aber anders gemacht weils ja dann sinlos ist xDD aber trotzdem danke für die schnellen antworten
xMichiix is offline  
Old 03/15/2011, 21:09   #5
 
.Delta's Avatar
 
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661

Ok geht anscheinend doch^^
.Delta is offline  
Reply




All times are GMT +2. The time now is 01:24.


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.